C# Class Tantric.Logic.Unit

Inheritance: Tantric.World.WorldObject
Exibir arquivo Open project: TheEtiologist/tantric

Public Methods

Method Description
AddGoal ( UnitGoal goal ) : void
ContainsGoal ( String name ) : bool
GetGoal ( String name ) : UnitGoal
RemoveGoal ( String name ) : void
RemoveGoal ( UnitGoal goal ) : void

Protected Methods

Method Description
Unit ( String name, IGoalInterpreter interpreter ) : System

Method Details

AddGoal() public method

public AddGoal ( UnitGoal goal ) : void
goal UnitGoal
return void

ContainsGoal() public method

public ContainsGoal ( String name ) : bool
name String
return bool

GetGoal() public method

public GetGoal ( String name ) : UnitGoal
name String
return UnitGoal

RemoveGoal() public method

public RemoveGoal ( String name ) : void
name String
return void

RemoveGoal() public method

public RemoveGoal ( UnitGoal goal ) : void
goal UnitGoal
return void

Unit() protected method

protected Unit ( String name, IGoalInterpreter interpreter ) : System
name String
interpreter IGoalInterpreter
return System