-
Notifications
You must be signed in to change notification settings - Fork 0
/
ObjectTypes.js
83 lines (83 loc) · 2.11 KB
/
ObjectTypes.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
module.exports = {
ObjectTypes: {
PLAYER: "player",
GRAVESTONE: "gravestone",
PROJECTILE: "projectile",
TERRAIN: "terrain",
INTERACTABLE: "interactable",
TRIGGER: "trigger",
VEHICLE: "vehicle",
COMBAT_TEXT: "combat-text",
ENEMY: "enemy",
DECORATION: "decoration",
},
Player: {
HUMAN: "human",
GOD: "god",
FIRE_MAGE: "fire-mage",
},
Projectile: {
BASIC_PROJECTILE: "basic-projectile",
FIREBOLT_PROJECTILE: "firebolt-projectile",
FLAME_PILLAR_PROJECTILE: "flame-pillar-projectile",
FLAME_DASH_PROJECTILE: "flame-dash-projectile",
},
Terrain: {
TREE: "tree",
WALL_HORIZ: "wall-horiz",
CASTLE_WALL_HORIZ: "castle-wall-horiz",
CASTLE_WALL_VERT: "castle-wall-vert",
},
Interactable: {
HEALTH_PICKUP: "health-pickup",
CAR_ENTER: "car-enter",
PLAYER_TYPE_CHANGER: "player-type-changer",
TELEPORTER: "teleporter",
},
Trigger: {
SPIKE_TRAP: "spike-trap",
INVULN_PLATFORM: "invuln-platform",
},
Vehicle: {
CAR: "car",
},
Enemy: {
TARGET_DUMMY: "target-dummy",
},
Decoration: {
DEAD_DUMMY: "dead-dummy",
WATCH_TOWER: "watch-tower",
CASTLE_FLOOR: "castle-floor",
},
EquipmentTypes: {
BLASTER: "blaster",
SCANNER: "scanner",
BUILDER: "builder",
BINOCULARS: "binoculars",
},
Abilities: {
FIREBOLT: "firebolt",
FLAME_PILLAR: "flame-pillar",
FLAME_DASH: "flame-dash",
FLAME_BARRIER: "flame-barrier",
},
StatusEffects: {
STUNNED: "stunned",
INVULNERABLE: "invulnerable",
},
CombatText: {
DAMAGE_TEXT: "damage-text",
FIRE_DAMAGE_TEXT: "fire-damage-text",
INVULNERABLE_TEXT: "invulnerable-text",
HEAL_TEXT: "heal-text",
},
HitboxTypes: {
NONE: "none",
RECT: "rect",
CIRC: "circ",
},
DamageTypes: {
NORMAL: "normal-damage",
FIRE: "fire-damage",
},
}