C# Class Fun.FunapiTimer

Show file Open project: iFunFactory/demo-kgc-2015 Class Usage Examples

Public Methods

Method Description
AddTimer ( string name, float start, EventHandler callback, object param = null ) : void
AddTimer ( string name, float delay, bool loop, EventHandler callback, object param = null ) : void
AddTimer ( string name, float start, float delay, bool loop, EventHandler callback, object param = null ) : void
Clear ( ) : void
ContainTimer ( string name ) : bool
KillTimer ( string name ) : void
Update ( ) : void

Private Methods

Method Description
CheckRemoveList ( ) : void

Method Details

AddTimer() public method

public AddTimer ( string name, float start, EventHandler callback, object param = null ) : void
name string
start float
callback EventHandler
param object
return void

AddTimer() public method

public AddTimer ( string name, float delay, bool loop, EventHandler callback, object param = null ) : void
name string
delay float
loop bool
callback EventHandler
param object
return void

AddTimer() public method

public AddTimer ( string name, float start, float delay, bool loop, EventHandler callback, object param = null ) : void
name string
start float
delay float
loop bool
callback EventHandler
param object
return void

Clear() public method

public Clear ( ) : void
return void

ContainTimer() public method

public ContainTimer ( string name ) : bool
name string
return bool

KillTimer() public method

public KillTimer ( string name ) : void
name string
return void

Update() public method

public Update ( ) : void
return void