C# Class Indiefreaks.Xna.Logic.GoalDriven.Goal

ファイルを表示 Open project: Indiefreaks/igf Class Usage Examples

Protected Properties

Property Type Description
SubGoals List

Public Methods

Method Description
Add ( Goal goal ) : void
Remove ( Goal goal ) : void

Protected Methods

Method Description
Activate ( ) : void
EvaluateDesirability ( ) : float
Goal ( ) : System
OnCompleted ( ) : void
OnFailed ( ) : void
Process ( float elapsed ) : void
ShouldStatusChange ( GoalStatus subGoalStatus ) : GoalStatus
Terminate ( ) : void

Private Methods

Method Description
ApplyGoalStatusOnClients ( Command command, object networkvalue ) : void
ApplyMostDesirableSubGoalIndexOnClients ( Command command, object networkvalue ) : void
ComputeGoalStatus ( ) : GoalStatus
ComputeGoalsDesirabilityOnServer ( Command command, object networkvalue ) : object
ComputeGoalsShouldChangeStatus ( Command command, object networkvalue ) : object
ComputeSubGoalsDesirability ( ) : void
IsStatusDifferentBetweenServerAndClient ( ) : bool
SendGoalStatusToClients ( Command command, object networkvalue ) : object
SendMostDesirableSubGoalIndexToClients ( Command command, object networkvalue ) : object
TerminateAndRemoveCompletedAndFailedGoalsOnClients ( Command command ) : object

Method Details

Activate() protected abstract method

protected abstract Activate ( ) : void
return void

Add() public method

public Add ( Goal goal ) : void
goal Goal
return void

EvaluateDesirability() protected abstract method

protected abstract EvaluateDesirability ( ) : float
return float

Goal() protected method

protected Goal ( ) : System
return System

OnCompleted() protected abstract method

protected abstract OnCompleted ( ) : void
return void

OnFailed() protected abstract method

protected abstract OnFailed ( ) : void
return void

Process() protected method

protected Process ( float elapsed ) : void
elapsed float
return void

Remove() public method

public Remove ( Goal goal ) : void
goal Goal
return void

ShouldStatusChange() protected abstract method

protected abstract ShouldStatusChange ( GoalStatus subGoalStatus ) : GoalStatus
subGoalStatus GoalStatus
return GoalStatus

Terminate() protected abstract method

protected abstract Terminate ( ) : void
return void

Property Details

SubGoals protected_oe property

protected List SubGoals
return List