C# 클래스 SmashBros.Views.IView

파일 보기 프로젝트 열기: Grutn/TDT4240-X2 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

Dispose() 공개 추상적인 메소드

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

Draw() 공개 추상적인 메소드

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
리턴 void

IView() 공개 메소드

public IView ( ) : System
리턴 System