Procedural Hexagon Grid Framework
 All Classes Namespaces Functions
Unit Class Reference

Example Unit class using A* pathfinding, moves to closest possible node of selected CellObject. More...

Inheritance diagram for Unit:

Public Member Functions

bool CanUnitMoveToNode (SearchNode toSearchNode)
 Check if this unit can move to search node (Pathfinding-algotirhm uses this)
 

Public Attributes

Node position
 
float moveSpeed = 1
 
float turnSpeed = 10
 
bool canMoveOnLand = true
 
bool canMoveOnWater = false
 
bool canMoveOnOccupiedNodes = false
 

Detailed Description

Example Unit class using A* pathfinding, moves to closest possible node of selected CellObject.


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