Player (class)
Revision as of 10:06, 26 October 2014 by Kevsoft (talk | contribs) (Created page with "Category:LunaLua API Category:LunaLua classes This class provides fields/functions for managing Players in the current level. {{Class table|NPC class||2= {{Class t...")
This class provides fields/functions for managing Players in the current level.
| NPC class | |||
|---|---|---|---|
| Type | Function/Field | Return values/Value type | Description |
| Constructor | myPlayer = Player() | Player | Construct a new Player-Object. This objects references to the first player. You might want to use the constants player and player2 (for the 2nd player) instead. |
| Constructor | myPlayer = Player(int internalIndex) | Player | Construct a new Player-Object. This object reference to the player given in internalIndex. 1 = first player, 2 = second player |