Unit CastlePlayer

DescriptionUsesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

Player (TPlayer).

Uses

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TPlayer Player, 3D object controlling the camera, main enemy of hostile creatures, carries a backpack, may cause fadeout effects on screen and such.

Types

TPlayerSwimming = (...);

Constants

DefaultAutoOpenInventory = true;

Variables

AutoOpenInventory: boolean = DefaultAutoOpenInventory;
PlayerInput_Forward: TInputShortcut;
PlayerInput_Backward: TInputShortcut;
PlayerInput_LeftRot: TInputShortcut;
PlayerInput_RightRot: TInputShortcut;
PlayerInput_LeftStrafe: TInputShortcut;
PlayerInput_RightStrafe: TInputShortcut;
PlayerInput_UpRotate: TInputShortcut;
PlayerInput_DownRotate: TInputShortcut;
PlayerInput_GravityUp: TInputShortcut;
PlayerInput_Jump: TInputShortcut;
PlayerInput_Crouch: TInputShortcut;

Description

Types

TPlayerSwimming = (...);
 
Values
  • psNo:  
  • 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.
  • psUnderWater:  

Constants

DefaultAutoOpenInventory = true;
 

Variables

AutoOpenInventory: boolean = DefaultAutoOpenInventory;

Automatically open TCastlePlayer inventory when picking up an item. Saved/loaded to config file in this unit.

PlayerInput_Forward: TInputShortcut;
 
PlayerInput_Backward: TInputShortcut;
 
PlayerInput_LeftRot: TInputShortcut;
 
PlayerInput_RightRot: TInputShortcut;
 
PlayerInput_LeftStrafe: TInputShortcut;
 
PlayerInput_RightStrafe: TInputShortcut;
 
PlayerInput_UpRotate: TInputShortcut;
 
PlayerInput_DownRotate: TInputShortcut;
 
PlayerInput_GravityUp: TInputShortcut;
 
PlayerInput_Jump: TInputShortcut;
 
PlayerInput_Crouch: TInputShortcut;
 

Generated by PasDoc 0.13.0 on 2014-05-01 01:41:02