DC/RTS Documentation  v1.62
A Unity3D System Incorporating the Functionality of a Dungeon Crawler or Real Time Strategy System
 All Classes Files Functions Variables Enumerations Enumerator Properties Pages
CreatureHandler Class Reference

Creates a Unity3D object to Inherit the Functionality of a DC/RTS CreatureHandler within the Unity3D Environment. More...

Inheritance diagram for CreatureHandler:

Public Member Functions

bool isValidMovePathTileCount ()
 Is the Current Move To Path Tile not the Last Tile? More...
 
GridGenerator.GridSquare getMovePathTile ()
 Gets the Path Tile the Creature Object is Moving Towards. More...
 
void setActiveTarget (bool val)
 Sets whether the Creature Object is an ActiveTarget. More...
 
bool isActiveTarget ()
 Is the Creature Object an Active Target? More...
 
override string ToString ()
 Returns the Name of this Creature Object. More...
 

Public Attributes

string Creature_Name = "NEWCREATURE"
 The Name of this Creature Object. More...
 
Color ActiveColor = Color.magenta
 The Color of this Creature's SelectedIndicator. More...
 

Properties

bool Moveable [get, set]
 Does the Creature Object have a Path to Traverse? More...
 

Detailed Description

Creates a Unity3D object to Inherit the Functionality of a DC/RTS CreatureHandler within the Unity3D Environment.

Member Function Documentation

GridGenerator.GridSquare CreatureHandler.getMovePathTile ( )

Gets the Path Tile the Creature Object is Moving Towards.

Returns
The GridGenerator.GridSquare that the Creature Object is Moving Towards.
bool CreatureHandler.isActiveTarget ( )

Is the Creature Object an Active Target?

bool CreatureHandler.isValidMovePathTileCount ( )

Is the Current Move To Path Tile not the Last Tile?

void CreatureHandler.setActiveTarget ( bool  val)

Sets whether the Creature Object is an ActiveTarget.

This is Called for when the Creature Object is Selected.

Parameters
valTrue or False.
override string CreatureHandler.ToString ( )

Returns the Name of this Creature Object.

Member Data Documentation

Color CreatureHandler.ActiveColor = Color.magenta

The Color of this Creature's SelectedIndicator.

string CreatureHandler.Creature_Name = "NEWCREATURE"

The Name of this Creature Object.

Property Documentation

bool CreatureHandler.Moveable
getset

Does the Creature Object have a Path to Traverse?


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