C# Class fCraft.Position

Show file Open project: fragmer/fCraft Class Usage Examples

Public Properties

Property Type Description
r byte
x short

Public Methods

Method Description
FitsIntoByte ( ) : bool
IsZero ( ) : bool
Position ( short _x, short _y, short _h ) : System
Set ( int _x, int _y, int _h, byte _r, byte _l ) : void
Set ( short _x, short _y, short _h, byte _r, byte _l ) : void

Method Details

FitsIntoByte() public method

public FitsIntoByte ( ) : bool
return bool

IsZero() public method

public IsZero ( ) : bool
return bool

Position() public method

public Position ( short _x, short _y, short _h ) : System
_x short
_y short
_h short
return System

Set() public method

public Set ( int _x, int _y, int _h, byte _r, byte _l ) : void
_x int
_y int
_h int
_r byte
_l byte
return void

Set() public method

public Set ( short _x, short _y, short _h, byte _r, byte _l ) : void
_x short
_y short
_h short
_r byte
_l byte
return void

Property Details

r public property

public byte r
return byte

x public property

public short x
return short