ManaPlus
Enumerations
CollisionType Namespace Reference

Enumerations

enum  T {
  COLLISION_EMPTY = 0 , COLLISION_WALL = 1 , COLLISION_AIR = 2 , COLLISION_WATER = 3 ,
  COLLISION_GROUNDTOP = 4 , COLLISION_PLAYER_WALL = 5 , COLLISION_MONSTER_WALL = 6 , COLLISION_MAX = 7
}
 

Enumeration Type Documentation

◆ T

Enumerator
COLLISION_EMPTY 
COLLISION_WALL 
COLLISION_AIR 
COLLISION_WATER 
COLLISION_GROUNDTOP 
COLLISION_PLAYER_WALL 
COLLISION_MONSTER_WALL 
COLLISION_MAX 

Definition at line 29 of file collisiontype.h.

30 {
31  COLLISION_EMPTY = 0, // no collision
32  COLLISION_WALL = 1, // full collison
33  COLLISION_AIR = 2, // air units can walk
34  COLLISION_WATER = 3, // water units can walk
35  COLLISION_GROUNDTOP = 4, // no collision (chair, bed, etc)
36  COLLISION_PLAYER_WALL = 5, // full collision for player
37  COLLISION_MONSTER_WALL = 6, // full collision for monster
38  COLLISION_MAX = 7 // count index
39 }