C# Class SmartboyDevelopments.Haxxit.Commands.DamageCommand

Inheritance: Command
Exibir arquivo Open project: smartboyathome/Haxxit

Public Methods

Method Description
CanAttack ( Map map, System.Point attacked_point ) : bool
DamageCommand ( ) : System
DamageCommand ( string name, string description, ushort strength, ushort range ) : System
Run ( Map map, System.Point attacked_point ) : UndoCommand

Method Details

CanAttack() public method

public CanAttack ( Map map, System.Point attacked_point ) : bool
map SmartboyDevelopments.Haxxit.Maps.Map
attacked_point System.Point
return bool

DamageCommand() public method

public DamageCommand ( ) : System
return System

DamageCommand() public method

public DamageCommand ( string name, string description, ushort strength, ushort range ) : System
name string
description string
strength ushort
range ushort
return System

Run() public method

public Run ( Map map, System.Point attacked_point ) : UndoCommand
map SmartboyDevelopments.Haxxit.Maps.Map
attacked_point System.Point
return UndoCommand