C# 클래스 SmartboyDevelopments.Haxxit.MonoGame.PlayerAI

상속: Player
파일 보기 프로젝트 열기: smartboyathome/Haxxit

공개 메소드들

메소드 설명
HandleAITurn ( Haxxit currentMap, GameStates newBackgroundState ) : void
IsInBounds ( Haxxit point ) : bool
PlayerAI ( string name = "" ) : System

비공개 메소드들

메소드 설명
AStar ( Haxxit program, Haxxit destination ) : Stack
AStarHelp ( AINodeData currentNode, AINodeData checkNode, List openList, List closeList, Haxxit program, Haxxit destination ) : void
BehaviorAttackNearest ( Haxxit program ) : void
BehaviorDefendObjective ( Haxxit program ) : void
BehaviorDoNothing ( Haxxit program ) : void
BehaviorFlee ( Haxxit program ) : void
BehaviorMoveLeft ( Haxxit program ) : void
ClearAStarData ( List openList, List closeList ) : void
DecideBehavior ( Haxxit program ) : ProgramBehavior
FindClosestEnemy ( Haxxit program ) : Haxxit.Maps.Point
FindCommandOptions ( Haxxit program, Commands command ) : PrioritizedCommand
FindNodesInRange ( Haxxit program, Haxxit target, int range ) : List
GetActualCommands ( Haxxit program ) : List
GetMapData ( ) : void
PerformCommand ( Haxxit target, Haxxit source, Commands command ) : CommandCode
PerformMoves ( Haxxit program, Queue path ) : MoveCode
PlanTurn ( ) : void
SendActions ( ) : void

메소드 상세

HandleAITurn() 공개 메소드

public HandleAITurn ( Haxxit currentMap, GameStates newBackgroundState ) : void
currentMap Haxxit
newBackgroundState GameStates
리턴 void

IsInBounds() 공개 메소드

public IsInBounds ( Haxxit point ) : bool
point Haxxit
리턴 bool

PlayerAI() 공개 메소드

public PlayerAI ( string name = "" ) : System
name string
리턴 System