C# Class LKCamelot.model.CombatHandler2

Show file Open project: vans163/LKEmu Class Usage Examples

Public Methods

Method Description
AdjecentTile ( Player player, int swingloc ) : Point2D
CombatHandler2 ( io client, PlayerHandler handler ) : System
HandleCast ( int header, script spell, Player player, int target, short castx, short casty ) : void
HandleMelee ( Player play, int swingdir ) : void
TakeDamage ( Player player, object tar, int take ) : void

Method Details

AdjecentTile() public static method

public static AdjecentTile ( Player player, int swingloc ) : Point2D
player Player
swingloc int
return Point2D

CombatHandler2() public method

public CombatHandler2 ( io client, PlayerHandler handler ) : System
client io
handler PlayerHandler
return System

HandleCast() public method

public HandleCast ( int header, script spell, Player player, int target, short castx, short casty ) : void
header int
spell script
player Player
target int
castx short
casty short
return void

HandleMelee() public method

public HandleMelee ( Player play, int swingdir ) : void
play Player
swingdir int
return void

TakeDamage() public method

public TakeDamage ( Player player, object tar, int take ) : void
player Player
tar object
take int
return void