C# Class LDEngine.Entities.RotBox

Inheritance: Entity
Mostra file Open project: GarethIW/LDEngine

Public Methods

Method Description
Draw ( SpriteBatch sb ) : void
OnPolyCollision ( Entity collided ) : void
RotBox ( Microsoft.Xna.Framework.Graphics.Texture2D spritesheet, Rectangle hitbox, List hitPolyPoints, Vector2 hitboxoffset ) : System
Update ( GameTime gameTime ) : void

Method Details

Draw() public method

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

OnPolyCollision() public method

public OnPolyCollision ( Entity collided ) : void
collided Entity
return void

RotBox() public method

public RotBox ( Microsoft.Xna.Framework.Graphics.Texture2D spritesheet, Rectangle hitbox, List hitPolyPoints, Vector2 hitboxoffset ) : System
spritesheet Microsoft.Xna.Framework.Graphics.Texture2D
hitbox Microsoft.Xna.Framework.Rectangle
hitPolyPoints List
hitboxoffset Vector2
return System

Update() public method

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