C# 클래스 SmartboyDevelopments.Haxxit.Programs.Program

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

공개 메소드들

메소드 설명
AlreadyRanCommand ( ) : bool
CanAttack ( Map map, System.Point attacked_point, string command_name ) : bool
GetAllCommands ( ) : List
GetCommand ( string command_name ) : Command
HasCommand ( string command_name ) : bool
Program ( ushort moves, ushort size, string TypeName, IEnumerable commands ) : System
Reset ( ) : void
RunCommand ( Map map, System.Point attacked_point, string command_name ) : UndoCommand
RunUndoCommand ( Map map, UndoCommand command ) : bool

메소드 상세

AlreadyRanCommand() 공개 메소드

public AlreadyRanCommand ( ) : bool
리턴 bool

CanAttack() 공개 메소드

public CanAttack ( Map map, System.Point attacked_point, string command_name ) : bool
map SmartboyDevelopments.Haxxit.Maps.Map
attacked_point System.Point
command_name string
리턴 bool

GetAllCommands() 공개 메소드

public GetAllCommands ( ) : List
리턴 List

GetCommand() 공개 메소드

public GetCommand ( string command_name ) : Command
command_name string
리턴 Command

HasCommand() 공개 메소드

public HasCommand ( string command_name ) : bool
command_name string
리턴 bool

Program() 공개 메소드

public Program ( ushort moves, ushort size, string TypeName, IEnumerable commands ) : System
moves ushort
size ushort
TypeName string
commands IEnumerable
리턴 System

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

RunCommand() 공개 메소드

public RunCommand ( Map map, System.Point attacked_point, string command_name ) : UndoCommand
map SmartboyDevelopments.Haxxit.Maps.Map
attacked_point System.Point
command_name string
리턴 SmartboyDevelopments.Haxxit.Commands.UndoCommand

RunUndoCommand() 공개 메소드

public RunUndoCommand ( Map map, UndoCommand command ) : bool
map SmartboyDevelopments.Haxxit.Maps.Map
command SmartboyDevelopments.Haxxit.Commands.UndoCommand
리턴 bool