C# Class WarTornLands.Counter.Counter

Mostra file Open project: floAr/WarTornLands

Public Methods

Method Description
Counter ( int _default, string _id ) : System
Counter ( string _id ) : System
Counter ( string id, bool stepCalled = false ) : System
Counter ( string id, int defaultTerm ) : System
Counter ( string id, int defaultTerm, bool stepCalled ) : System

Initializes a new instance of the Counter class.

GetID ( ) : string
GetPercentage ( ) : float
Initialize ( CounterManager _proprietor ) : void
OnCancel ( object sender, CounterEventArgs e ) : void
Update ( GameTime gameTime ) : void

Private Methods

Method Description
OnStartCounter ( object sender, CounterEventArgs e ) : void

Method Details

Counter() public method

public Counter ( int _default, string _id ) : System
_default int
_id string
return System

Counter() public method

public Counter ( string _id ) : System
_id string
return System

Counter() public method

public Counter ( string id, bool stepCalled = false ) : System
id string
stepCalled bool
return System

Counter() public method

public Counter ( string id, int defaultTerm ) : System
id string
defaultTerm int
return System

Counter() public method

Initializes a new instance of the Counter class.
public Counter ( string id, int defaultTerm, bool stepCalled ) : System
id string The ID.
defaultTerm int The default term.
stepCalled bool
return System

GetID() public method

public GetID ( ) : string
return string

GetPercentage() public method

public GetPercentage ( ) : float
return float

Initialize() public method

public Initialize ( CounterManager _proprietor ) : void
_proprietor CounterManager
return void

OnCancel() public method

public OnCancel ( object sender, CounterEventArgs e ) : void
sender object
e CounterEventArgs
return void

Update() public method

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