C# Class WarTornLands.Counter.CounterManager

Exibir arquivo Open project: floAr/WarTornLands Class Usage Examples

Public Methods

Method Description
AddCounter ( ) : void
AddCounter ( string id ) : void
AddCounter ( string _id, int _default ) : void
AddCounter ( string id, int defaultTerm, bool stepCalled = false ) : void
CancelCounter ( ) : void
CancelCounter ( string id ) : void
CounterManager ( ) : System
GetPercentage ( ) : float
GetPercentage ( string id ) : float
StartCounter ( String id, int term, bool refresh = true, bool loop = false ) : bool
StartCounter ( String _id ) : void
StartCounter ( String id, bool loop = false ) : void
StartCounter ( String id, bool refresh, bool loop = false ) : void
StartCounter ( float _amount, INCREMENT _inc ) : void
StartCounter ( float term, Increment increment, bool loop = false ) : void
StartCounter ( float _amount, bool _refresh, INCREMENT _inc ) : void
StartCounter ( float term, bool refresh, Increment inc, bool loop = false ) : void
StartCounter ( float _amount, bool _refresh, string _id, INCREMENT _inc ) : void
StartCounter ( float term, bool refresh, string id, Increment inc, bool loop = false ) : void
StartCounter ( float _amount, string _id, INCREMENT _inc ) : void
StartCounter ( float term, string id, Increment inc, bool loop = false ) : void
StartCounter ( int _amount ) : void
StartCounter ( int term, bool loop = false ) : void
StartCounter ( int term, bool refresh, bool loop = false ) : void
StartCounter ( int _amount, bool _refresh, string _id ) : void
StartCounter ( int term, bool refresh, string id, bool loop = false ) : void
StartCounter ( int _amount, string _id ) : void
StartCounter ( int term, string id, bool loop = false ) : void
Update ( GameTime gameTime ) : void

Private Methods

Method Description
CheckCounterAvailabillity ( string id ) : void
CheckCounterUse ( string id ) : void
PassOnBang ( object sender, BangEventArgs e ) : void
PassOnStep ( object sender, BangEventArgs e ) : void

Method Details

AddCounter() public method

public AddCounter ( ) : void
return void

AddCounter() public method

public AddCounter ( string id ) : void
id string
return void

AddCounter() public method

public AddCounter ( string _id, int _default ) : void
_id string
_default int
return void

AddCounter() public method

public AddCounter ( string id, int defaultTerm, bool stepCalled = false ) : void
id string
defaultTerm int
stepCalled bool
return void

CancelCounter() public method

public CancelCounter ( ) : void
return void

CancelCounter() public method

public CancelCounter ( string id ) : void
id string
return void

CounterManager() public method

public CounterManager ( ) : System
return System

GetPercentage() public method

public GetPercentage ( ) : float
return float

GetPercentage() public method

public GetPercentage ( string id ) : float
id string
return float

StartCounter() public method

public StartCounter ( String id, int term, bool refresh = true, bool loop = false ) : bool
id String
term int
refresh bool
loop bool
return bool

StartCounter() public method

public StartCounter ( String _id ) : void
_id String
return void

StartCounter() public method

public StartCounter ( String id, bool loop = false ) : void
id String
loop bool
return void

StartCounter() public method

public StartCounter ( String id, bool refresh, bool loop = false ) : void
id String
refresh bool
loop bool
return void

StartCounter() public method

public StartCounter ( float _amount, INCREMENT _inc ) : void
_amount float
_inc INCREMENT
return void

StartCounter() public method

public StartCounter ( float term, Increment increment, bool loop = false ) : void
term float
increment Increment
loop bool
return void

StartCounter() public method

public StartCounter ( float _amount, bool _refresh, INCREMENT _inc ) : void
_amount float
_refresh bool
_inc INCREMENT
return void

StartCounter() public method

public StartCounter ( float term, bool refresh, Increment inc, bool loop = false ) : void
term float
refresh bool
inc Increment
loop bool
return void

StartCounter() public method

public StartCounter ( float _amount, bool _refresh, string _id, INCREMENT _inc ) : void
_amount float
_refresh bool
_id string
_inc INCREMENT
return void

StartCounter() public method

public StartCounter ( float term, bool refresh, string id, Increment inc, bool loop = false ) : void
term float
refresh bool
id string
inc Increment
loop bool
return void

StartCounter() public method

public StartCounter ( float _amount, string _id, INCREMENT _inc ) : void
_amount float
_id string
_inc INCREMENT
return void

StartCounter() public method

public StartCounter ( float term, string id, Increment inc, bool loop = false ) : void
term float
id string
inc Increment
loop bool
return void

StartCounter() public method

public StartCounter ( int _amount ) : void
_amount int
return void

StartCounter() public method

public StartCounter ( int term, bool loop = false ) : void
term int
loop bool
return void

StartCounter() public method

public StartCounter ( int term, bool refresh, bool loop = false ) : void
term int
refresh bool
loop bool
return void

StartCounter() public method

public StartCounter ( int _amount, bool _refresh, string _id ) : void
_amount int
_refresh bool
_id string
return void

StartCounter() public method

public StartCounter ( int term, bool refresh, string id, bool loop = false ) : void
term int
refresh bool
id string
loop bool
return void

StartCounter() public method

public StartCounter ( int _amount, string _id ) : void
_amount int
_id string
return void

StartCounter() public method

public StartCounter ( int term, string id, bool loop = false ) : void
term int
id string
loop bool
return void

Update() public method

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void