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