Castle Game Engine Introduction Units Class Hierarchy Classes, Interfaces, Objects and Records Types Variables Constants Functions and Procedures Identifiers
Classes, Interfaces, Objects and Records
Player, 3D object controlling the camera, main enemy of hostile creatures, carries a backpack, may cause
fadeout effects on screen and such. Types
TPlayerSwimming = (...);
psAboveWater: Player is floating on the water. Not falling down, but also not drowning. This means that player head is above the water surface but his feet are in the water. In some sense he/she is swimming, in some not.
DefaultAutoOpenInventory = true;
AutoOpenInventory: boolean = DefaultAutoOpenInventory;
Automatically open TCastlePlayer inventory when picking up an item.