C# Class MGame, Madness

Inheritance: FMultiTouchableInterface
Mostra file Open project: MattRix/Madness Class Usage Examples

Public Properties

Property Type Description
colorRed Color
colorWhite Color
container FContainer,
effectLayer MEffectLayer,
frameCount int
hudLayer FContainer,
instance MGame,
page MInGamePage,
preCalcSQRTs int[]

Public Methods

Method Description
AddDNA ( MPlayer, player ) : void
CreateBeast ( MPlayer, player ) : void
Destroy ( ) : void
GetIntSQRT ( int num ) : int
HandleMultiTouch ( FTouch, touches ) : void
MGame ( MInGamePage, page ) : System
RemoveBeast ( MBeast, beastToRemove ) : void
RemoveDNA ( MPlayer, player, int amount ) : void
SetAttackTarget ( MPlayer, player, Vector2 targetPosition ) : void
ShowNote ( string message, float duration ) : void

Protected Methods

Method Description
HandleUpdate ( ) : void

Private Methods

Method Description
CreateTowers ( ) : void
CreateUI ( ) : void
HandleNoteComplete ( AbstractTween, tween ) : void
HandleWinComplete ( AbstractTween, tween ) : void
KillPlayer ( MPlayer, player ) : void
MGame ( ) : System

Method Details

AddDNA() public method

public AddDNA ( MPlayer, player ) : void
player MPlayer,
return void

CreateBeast() public method

public CreateBeast ( MPlayer, player ) : void
player MPlayer,
return void

Destroy() public method

public Destroy ( ) : void
return void

GetIntSQRT() public static method

public static GetIntSQRT ( int num ) : int
num int
return int

HandleMultiTouch() public method

public HandleMultiTouch ( FTouch, touches ) : void
touches FTouch,
return void

HandleUpdate() protected method

protected HandleUpdate ( ) : void
return void

MGame() public method

public MGame ( MInGamePage, page ) : System
page MInGamePage,
return System

RemoveBeast() public method

public RemoveBeast ( MBeast, beastToRemove ) : void
beastToRemove MBeast,
return void

RemoveDNA() public method

public RemoveDNA ( MPlayer, player, int amount ) : void
player MPlayer,
amount int
return void

SetAttackTarget() public method

public SetAttackTarget ( MPlayer, player, Vector2 targetPosition ) : void
player MPlayer,
targetPosition Vector2
return void

ShowNote() public method

public ShowNote ( string message, float duration ) : void
message string
duration float
return void

Property Details

colorRed public_oe static_oe property

public static Color colorRed
return Color

colorWhite public_oe static_oe property

public static Color colorWhite
return Color

container public_oe property

public FContainer, container
return FContainer,

effectLayer public_oe property

public MEffectLayer, effectLayer
return MEffectLayer,

frameCount public_oe property

public int frameCount
return int

hudLayer public_oe property

public FContainer, hudLayer
return FContainer,

instance public_oe static_oe property

public static MGame, instance
return MGame,

page public_oe property

public MInGamePage, page
return MInGamePage,

preCalcSQRTs public_oe static_oe property

public static int[] preCalcSQRTs
return int[]