C# Class GameStruct.Point

Mostrar archivo Open project: dream-young-soul/soul Class Usage Examples

Public Properties

Property Type Description
x short
y short

Public Methods

Method Description
CheckFanDistance ( Point pos, Point magicPos, int distance = Define.MAX_VISIBLE_DISTANCE ) : bool
CheckVisualDistance ( short xx, short yy, int distance = Define.MAX_VISIBLE_DISTANCE ) : bool
Point ( ) : System

Method Details

CheckFanDistance() public method

public CheckFanDistance ( Point pos, Point magicPos, int distance = Define.MAX_VISIBLE_DISTANCE ) : bool
pos Point
magicPos Point
distance int
return bool

CheckVisualDistance() public method

public CheckVisualDistance ( short xx, short yy, int distance = Define.MAX_VISIBLE_DISTANCE ) : bool
xx short
yy short
distance int
return bool

Point() public method

public Point ( ) : System
return System

Property Details

x public_oe property

public short x
return short

y public_oe property

public short y
return short