C# 클래스 CS_AIAgent, Unity-AI-SpyVsGuard

상속: MonoBehaviour, CS_IGOAP
파일 보기 프로젝트 열기: danielmccluskey/Unity-AI-SpyVsGuard

공개 프로퍼티들

프로퍼티 타입 설명
m_bInterrupt bool
m_bKnowsTotemLocation bool
m_fAggroDistance float
m_fArrivalDistance float

공개 메소드들

메소드 설명
AbortPlan ( CS_GOAPAction, a_FailedAction ) : void
AllActionsFinished ( ) : void
CreateGoalState ( ) : object>>.HashSet
GetWorldState ( ) : object>>.HashSet
MoveAgentToAction ( CS_GOAPAction, a_NextAction ) : bool

Function for the move state of the FSM, tells the agent how to move to its target

PlanFailed ( HashSet, a_kvpFailedGoal ) : void

Handles what happens when the plan fails (Unfinished)

PlanFound ( HashSet, a_kvpGoal, Queue, a_qActionQueue ) : void

Handles what happens when the agent finds a play (Unfinished)

Update ( ) : void

비공개 메소드들

메소드 설명
Start ( ) : void

메소드 상세

AbortPlan() 공개 메소드

public AbortPlan ( CS_GOAPAction, a_FailedAction ) : void
a_FailedAction CS_GOAPAction,
리턴 void

AllActionsFinished() 공개 메소드

public AllActionsFinished ( ) : void
리턴 void

CreateGoalState() 공개 추상적인 메소드

public abstract CreateGoalState ( ) : object>>.HashSet
리턴 object>>.HashSet

GetWorldState() 공개 메소드

public GetWorldState ( ) : object>>.HashSet
리턴 object>>.HashSet

MoveAgentToAction() 공개 메소드

Function for the move state of the FSM, tells the agent how to move to its target
public MoveAgentToAction ( CS_GOAPAction, a_NextAction ) : bool
a_NextAction CS_GOAPAction, Action to do after the agent arrives at the target
리턴 bool

PlanFailed() 공개 메소드

Handles what happens when the plan fails (Unfinished)
public PlanFailed ( HashSet, a_kvpFailedGoal ) : void
a_kvpFailedGoal HashSet,
리턴 void

PlanFound() 공개 메소드

Handles what happens when the agent finds a play (Unfinished)
public PlanFound ( HashSet, a_kvpGoal, Queue, a_qActionQueue ) : void
a_kvpGoal HashSet,
a_qActionQueue Queue,
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

m_bInterrupt 공개적으로 프로퍼티

public bool m_bInterrupt
리턴 bool

m_bKnowsTotemLocation 공개적으로 프로퍼티

public bool m_bKnowsTotemLocation
리턴 bool

m_fAggroDistance 공개적으로 프로퍼티

public float m_fAggroDistance
리턴 float

m_fArrivalDistance 공개적으로 프로퍼티

public float m_fArrivalDistance
리턴 float