Cronous Emulation Server Daemon

MonsterCharacter.can_attack Method (Int32, Int32)

Checks whether a given character is inside the attack range.

[Visual Basic]
Public Function can_attack( _ 
   ByVal x As Integer, _ 
   ByVal y As Integer _ 
) As Boolean
[C#]
public bool can_attack(
   int x,
   int y
);
[C++]
public: bool can_attack(
   int x,
   int y
);
[JScript]
public function can_attack(
   int x,
   int y
): bool;

Parameters

x
X.
y
Y.

Return Value

true if the object at p can be atacked by the character, false otherwise.

See Also

MonsterCharacter Class | croemud.character Namespace | MonsterCharacter.can_attack Overload List