C# Class _1942.BaseObject

Datei anzeigen Open project: Hoobler/Projekt1

Public Properties

Property Type Description
animationFrame Point
spriteEffect SpriteEffects

Protected Properties

Property Type Description
angle float
color Color
dead bool
layerDepth float
position Vector2
size Point
speed Vector2
texture Microsoft.Xna.Framework.Graphics.Texture2D
windowbounds Vector2

Public Methods

Method Description
BaseObject ( ) : System
Draw ( SpriteBatch spriteBatch ) : void
IsDead ( ) : bool
SetDead ( ) : void
Update ( GameTime gameTime ) : void

Method Details

BaseObject() public method

public BaseObject ( ) : System
return System

Draw() public method

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

IsDead() public method

public IsDead ( ) : bool
return bool

SetDead() public method

public SetDead ( ) : void
return void

Update() public method

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

Property Details

angle protected_oe property

protected float angle
return float

animationFrame public_oe property

public Point animationFrame
return Point

color protected_oe property

protected Color color
return Color

dead protected_oe property

protected bool dead
return bool

layerDepth protected_oe property

protected float layerDepth
return float

position protected_oe property

protected Vector2 position
return Vector2

size protected_oe property

protected Point size
return Point

speed protected_oe property

protected Vector2 speed
return Vector2

spriteEffect public_oe property

public SpriteEffects spriteEffect
return SpriteEffects

texture protected_oe property

protected Texture2D,Microsoft.Xna.Framework.Graphics texture
return Microsoft.Xna.Framework.Graphics.Texture2D

windowbounds protected_oe property

protected Vector2 windowbounds
return Vector2