PGE Engine
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
PlayerPosDetector Class Reference
Inheritance diagram for PlayerPosDetector:
BasicDetector

Public Member Functions

 PlayerPosDetector (LVL_Npc *parent)
 
 PlayerPosDetector (const PlayerPosDetector &dtc)
 
void processDetector ()
 
int directedTo ()
 
int playersDirection ()
 where you shold go to be nearer to player
 
PGE_PointF position ()
 self direction of player
 
float positionX ()
 X-Y position of a player's center.
 
float positionY ()
 
int playersCharID ()
 
int playersStateID ()
 returns ID of playable character
 
LVL_PlayerplayerPtr ()
 returns ID of player's state
 
- Public Member Functions inherited from BasicDetector
 BasicDetector (LVL_Npc *parent)
 
 BasicDetector (const BasicDetector &dtc)
 
virtual bool detected ()
 

Additional Inherited Members

- Protected Attributes inherited from BasicDetector
bool _detected
 
LVL_Npc_parentNPC
 

The documentation for this class was generated from the following files: