C# Класс SmashBros.Views.IView

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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