C# Class ProjectCow.InteractObject

Datei anzeigen Open project: csce3513/Team12

Public Properties

Property Type Description
position Vector2
scale float
size Microsoft.Xna.Framework.Rectangle

Public Methods

Method Description
DrawIAO ( SpriteBatch spritebatch ) : void
LoadIAO ( Microsoft.Xna.Framework.Content.ContentManager contentmanager, string imagename ) : void
UpdateIAO ( GameTime gametime, Vector2 speed, Vector2 direction ) : void
getHeight ( ) : int
getWidth ( ) : int

Method Details

DrawIAO() public method

public DrawIAO ( SpriteBatch spritebatch ) : void
spritebatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

LoadIAO() public method

public LoadIAO ( Microsoft.Xna.Framework.Content.ContentManager contentmanager, string imagename ) : void
contentmanager Microsoft.Xna.Framework.Content.ContentManager
imagename string
return void

UpdateIAO() public method

public UpdateIAO ( GameTime gametime, Vector2 speed, Vector2 direction ) : void
gametime Microsoft.Xna.Framework.GameTime
speed Vector2
direction Vector2
return void

getHeight() public method

public getHeight ( ) : int
return int

getWidth() public method

public getWidth ( ) : int
return int

Property Details

position public_oe property

public Vector2 position
return Vector2

scale public_oe property

public float scale
return float

size public_oe property

public Rectangle,Microsoft.Xna.Framework size
return Microsoft.Xna.Framework.Rectangle