| Home | Trees | Index | Help |
|---|
|
|
| Variable Summary | |
|---|---|
dict |
DAMAGE_TYPES: A dictionary mapping each damage type constant to a string name for
that constant. |
int |
DOWN = 8 |
int |
GRAVITY: The default downward acceleration for walkers and other entities that
are affected by gravity. |
LEFT, RIGHT, TOP, BOTTOM: Constants used to indicate sides of an object. | |
PHYSICAL, FIRE, WATER, ICE, ELECTRIC, ACID, POISON: Constants used to indicate types of damage. | |
int |
UP = 4 |
| Sides | |
int |
LEFT = 1 |
int |
RIGHT = 2 |
int |
TOP = 4 |
int |
BOTTOM = 8 |
dict |
OPPOSITE_SIDE: A dictionary mapping each side constant to the side constant
corresponding to the opposite side. |
dict |
SIDE_NAME: A dictionary mapping each side constant to a string name for that
constant. |
| Factions | |
int |
GOODGUY: A constant used to indicate the faction that the avatar belongs
to. |
int |
BADGUY: A constant used to indicate the faction containing agents that will
attack agents in the goodguy faction (including the avatar). |
int |
NEUTRAL: A constant used to indicate the faction containing agents that will
neither attack nor defend the avatar. |
dict |
FACTION_NAMES: A dictionary mapping each faction constant to a string name for that
constant. |
| Damage Types | |
int |
PHYSICAL = 1 |
int |
FIRE = 2 |
int |
WATER = 4 |
int |
ICE = 8 |
int |
ELECTRIC = 16 |
int |
ACID = 32 |
int |
POISON = 64 |
| Variable Details |
|---|
LEFT
|
RIGHT
|
TOP
|
BOTTOM
|
OPPOSITE_SIDEA dictionary mapping each side constant to the side constant corresponding to the opposite side.
|
SIDE_NAMEA dictionary mapping each side constant to a string name for that constant.
|
GOODGUYA constant used to indicate the faction that the avatar belongs to. Other agents in the goodguy faction will attack badguys.
|
BADGUYA constant used to indicate the faction containing agents that will attack agents in the goodguy faction (including the avatar).
|
NEUTRALA constant used to indicate the faction containing agents that will neither attack nor defend the avatar.
|
FACTION_NAMESA dictionary mapping each faction constant to a string name for that constant.
|
PHYSICAL
|
FIRE
|
WATER
|
ICE
|
ELECTRIC
|
ACID
|
POISON
|
DOWN
|
GRAVITYThe default downward acceleration for walkers and other entities that are affected by gravity.
|
LEFT, RIGHT, TOP, BOTTOMConstants used to indicate sides of an object. These constants can be used as flags. (e.g., LEFT+RIGHT can be used to indicate the left or right side.) |
PHYSICAL, FIRE, WATER, ICE, ELECTRIC, ACID, POISONConstants used to indicate types of damage. These constants can be used as flags (e.g., PHYSICAL+FIRE can be used to indicate damage caused by poth physical contact and fire). |
UP
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Thu Sep 22 22:52:46 2005 | http://epydoc.sf.net |