ProD  4.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events
Public Member Functions | List of all members
ProD.TurnBasedPlayerMovement Class Reference

Inherits ProD.PlayerMovement, and ProD.TurnBasedActor.

Public Member Functions

void OnEnable ()
 
override void SetupPlayer (WorldMap newWorld)
 Places the player on the map. More...
 
override void SetupPlayer (WorldMap newWorld, Address mapAdress, Address spawnPoint)
 Places the player on the map. More...
 
void SetCamera (string cameraName)
 
void startTurn ()
 
void SetInput (Vector2 input)
 
- Public Member Functions inherited from ProD.MovingObject
bool MoveToCell (Cell targetCell)
 

Additional Inherited Members

- Public Attributes inherited from ProD.MovingObject
float layer = 0.5f
 
List< string > walkableCellTypes
 
- Properties inherited from ProD.MovingObject
Map currentMap [get, set]
 
WorldMap currentWorld [get, set]
 
Cell currentCell [get, set]
 

Member Function Documentation

void ProD.TurnBasedPlayerMovement.OnEnable ( )
void ProD.TurnBasedPlayerMovement.SetCamera ( string  cameraName)
void ProD.TurnBasedPlayerMovement.SetInput ( Vector2  input)
override void ProD.TurnBasedPlayerMovement.SetupPlayer ( WorldMap  newWorld)
virtual

Places the player on the map.

Parameters
newWorldThe world to put the player in.

Reimplemented from ProD.PlayerMovement.

override void ProD.TurnBasedPlayerMovement.SetupPlayer ( WorldMap  newWorld,
Address  mapAdress,
Address  spawnPoint 
)
virtual

Places the player on the map.

Parameters
newWorldThe world to put the player in.
mapAdressIndicates which map of the world the player is put in.
spawnPointThe address in the map the player is spawned at. If its null, the player will spawn at a random spot.

Reimplemented from ProD.PlayerMovement.

void ProD.TurnBasedPlayerMovement.startTurn ( )

Implements ProD.TurnBasedActor.