C# Class testapp.MachineStatus

Datei anzeigen Open project: RITMechArch/MechArch Class Usage Examples

Public Methods

Method Description
MachineStatus ( ) : System
getArmingChain ( ) : bool
getCurrentState ( ) : States
getFOptic ( ) : bool
getIsMoving ( ) : bool
getROptic ( ) : bool
getXPosition ( ) : int
getXTarget ( ) : int
getYPosition ( ) : int
getYTarget ( ) : int
setArmingChain ( bool arm ) : void
setCurrentState ( States state ) : void
setDrawInput ( bool draw ) : void
setFOptic ( bool fOpt ) : void
setFireInput ( bool fire ) : void
setMoving ( bool isMoving ) : void
setROptic ( bool rOpt ) : void
setXPosition ( int x ) : void
setXTarget ( int x ) : void
setYPosition ( int y ) : void
setYTarget ( int y ) : void

Private Methods

Method Description
checkStateTransitions ( ) : void

Method Details

MachineStatus() public method

public MachineStatus ( ) : System
return System

getArmingChain() public method

public getArmingChain ( ) : bool
return bool

getCurrentState() public method

public getCurrentState ( ) : States
return States

getFOptic() public method

public getFOptic ( ) : bool
return bool

getIsMoving() public method

public getIsMoving ( ) : bool
return bool

getROptic() public method

public getROptic ( ) : bool
return bool

getXPosition() public method

public getXPosition ( ) : int
return int

getXTarget() public method

public getXTarget ( ) : int
return int

getYPosition() public method

public getYPosition ( ) : int
return int

getYTarget() public method

public getYTarget ( ) : int
return int

setArmingChain() public method

public setArmingChain ( bool arm ) : void
arm bool
return void

setCurrentState() public method

public setCurrentState ( States state ) : void
state States
return void

setDrawInput() public method

public setDrawInput ( bool draw ) : void
draw bool
return void

setFOptic() public method

public setFOptic ( bool fOpt ) : void
fOpt bool
return void

setFireInput() public method

public setFireInput ( bool fire ) : void
fire bool
return void

setMoving() public method

public setMoving ( bool isMoving ) : void
isMoving bool
return void

setROptic() public method

public setROptic ( bool rOpt ) : void
rOpt bool
return void

setXPosition() public method

public setXPosition ( int x ) : void
x int
return void

setXTarget() public method

public setXTarget ( int x ) : void
x int
return void

setYPosition() public method

public setYPosition ( int y ) : void
y int
return void

setYTarget() public method

public setYTarget ( int y ) : void
y int
return void