C# Class SmartboyDevelopments.Haxxit.Programs.Program

Afficher le fichier Open project: smartboyathome/Haxxit

Méthodes publiques

Méthode Description
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

Method Details

AlreadyRanCommand() public méthode

public AlreadyRanCommand ( ) : bool
Résultat bool

CanAttack() public méthode

public CanAttack ( Map map, System.Point attacked_point, string command_name ) : bool
map SmartboyDevelopments.Haxxit.Maps.Map
attacked_point System.Point
command_name string
Résultat bool

GetAllCommands() public méthode

public GetAllCommands ( ) : List
Résultat List

GetCommand() public méthode

public GetCommand ( string command_name ) : Command
command_name string
Résultat Command

HasCommand() public méthode

public HasCommand ( string command_name ) : bool
command_name string
Résultat bool

Program() public méthode

public Program ( ushort moves, ushort size, string TypeName, IEnumerable commands ) : System
moves ushort
size ushort
TypeName string
commands IEnumerable
Résultat System

Reset() public méthode

public Reset ( ) : void
Résultat void

RunCommand() public méthode

public RunCommand ( Map map, System.Point attacked_point, string command_name ) : UndoCommand
map SmartboyDevelopments.Haxxit.Maps.Map
attacked_point System.Point
command_name string
Résultat SmartboyDevelopments.Haxxit.Commands.UndoCommand

RunUndoCommand() public méthode

public RunUndoCommand ( Map map, UndoCommand command ) : bool
map SmartboyDevelopments.Haxxit.Maps.Map
command SmartboyDevelopments.Haxxit.Commands.UndoCommand
Résultat bool