Constants¶
See also UNIT_TYPEID, UPGRADE_ID and ABILITY_ID for more constants.
Player constants¶
The following constants are used when referring to a player:
-
library.
PLAYER_SELF
¶
-
library.
PLAYER_ENEMY
¶
-
library.
PLAYER_NEUTRAL
¶
-
library.
PLAYER_ALLY
¶
These are internally represented as integers, but these constants should be used instead to avoid confusion.
Difficulty¶
-
class
library.
Difficulty
¶ -
CheatInsane
= Difficulty.CheatInsane¶
-
CheatMoney
= Difficulty.CheatMoney¶
-
CheatVision
= Difficulty.CheatVision¶
-
Easy
= Difficulty.Easy¶
-
Hard
= Difficulty.Hard¶
-
HardVeryHard
= Difficulty.HardVeryHard¶
-
Medium
= Difficulty.Medium¶
-
MediumHard
= Difficulty.MediumHard¶
-
VeryEasy
= Difficulty.VeryEasy¶
-
VeryHard
= Difficulty.VeryHard¶
-