C# Class SmashBros.Views.IView

Show file Open project: Grutn/TDT4240-X2 Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Is run when the view gets disposed

Draw ( SpriteBatch spriteBatch, GameTime gameTime ) : void

Runs when the view is put up for drawing It isn't necessary to spritBatch.Begin() & end(), this is handeled by the ControllerViewManager so theres as few begin end as possible

IView ( ) : System

Method Details

Dispose() public abstract method

Is run when the view gets disposed
public abstract Dispose ( ) : void
return void

Draw() public abstract method

Runs when the view is put up for drawing It isn't necessary to spritBatch.Begin() & end(), this is handeled by the ControllerViewManager so theres as few begin end as possible
public abstract Draw ( SpriteBatch spriteBatch, GameTime gameTime ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
gameTime Microsoft.Xna.Framework.GameTime
return void

IView() public method

public IView ( ) : System
return System