C# Class Rome.Clock

Exibir arquivo Open project: ReticentJohn/Spring-Project-2011

Public Properties

Property Type Description
clockFace Sprite
isRunning bool
msTimer float

Public Methods

Method Description
Draw ( SpriteBatch spriteBatch ) : void
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content, Vector2 clockPosition ) : void
SecondsElapsed ( ) : int
Update ( GameTime gameTime ) : void

Method Details

Draw() public method

public Draw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

LoadContent() public method

public LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content, Vector2 clockPosition ) : void
content Microsoft.Xna.Framework.Content.ContentManager
clockPosition Vector2
return void

SecondsElapsed() public method

public SecondsElapsed ( ) : int
return int

Update() public method

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

Property Details

clockFace public_oe property

public Sprite clockFace
return Sprite

isRunning public_oe property

public bool isRunning
return bool

msTimer public_oe property

public float msTimer
return float