1/*
2 * Copyright (C) 2010 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package com.replica.replicaisland;
18
19/**
20 * CollisionParamaters defines global parameters related to dynamic (object vs object) collisions.
21 */
22public final class CollisionParameters {
23    // HitType describes the type of hit that a victim object receives.  Victims may choose to
24    // react differently to the intersection depending on the hit type.
25	// TODO: Make this a bit field so that objects can support multiple hit types.
26    public final class HitType {
27        public final static int INVALID = 0;    // No type.
28        public final static int HIT = 1;        // Standard hit type.  Life is reduced by 1.
29        public final static int DEATH = 2;      // Causes instant death.
30        public final static int COLLECT = 3;    // Causes collectable objects to be collected by the attacker.
31        public final static int POSSESS = 4;    // Causes possessable objects to become possessed.
32        public final static int DEPRESS = 5;    // A hit indicating that the attacker is pressing into the victim.
33        public final static int LAUNCH = 6;     // A hit indicating that the attacker will launch the victim.
34    }
35
36
37}
38