Skip to content
Snippets Groups Projects
playerconstants.rst 352 B
Newer Older
  • Learn to ignore specific revisions
  • Player constants
    ================
    
    The following constants are used when referring to a player:
    
    .. autoclass:: library.PLAYER_SELF
    .. autoclass:: library.PLAYER_ENEMY
    .. autoclass:: library.PLAYER_NEUTRAL
    .. autoclass:: library.PLAYER_ALLY
    
    These are internally represented as integers, but these constants should be 
    used instead to avoid confusion.