C# Class FontEffectsLib.CoreTypes.BaseGameObject

Inheritance: ISprite
Show file Open project: GreatMindsRobotics/FontEffectsLib

Protected Properties

Property Type Description
_effects SpriteEffects
_isVisible bool
_layerDepth float
_origin Vector2
_position Vector2
_rotation float
_scale Vector2
_tag object
_tintColor Color

Public Methods

Method Description
BaseGameObject ( Vector2 position, Color tintColor ) : System
Draw ( SpriteBatch spriteBatch ) : void
SetCenterAsOrigin ( ) : void
Update ( GameTime gameTime ) : void

Protected Methods

Method Description
FireVisibilityStateChangedEvent ( ) : void

Method Details

BaseGameObject() public method

public BaseGameObject ( Vector2 position, Color tintColor ) : System
position Vector2
tintColor Color
return System

Draw() public abstract method

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

FireVisibilityStateChangedEvent() protected method

protected FireVisibilityStateChangedEvent ( ) : void
return void

SetCenterAsOrigin() public abstract method

public abstract SetCenterAsOrigin ( ) : void
return void

Update() public abstract method

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

Property Details

_effects protected property

protected SpriteEffects _effects
return SpriteEffects

_isVisible protected property

protected bool _isVisible
return bool

_layerDepth protected property

protected float _layerDepth
return float

_origin protected property

protected Vector2 _origin
return Vector2

_position protected property

protected Vector2 _position
return Vector2

_rotation protected property

protected float _rotation
return float

_scale protected property

protected Vector2 _scale
return Vector2

_tag protected property

protected object _tag
return object

_tintColor protected property

protected Color _tintColor
return Color