C# Класс manlyMiniGames.Sprite

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
mPosition Vector2
source Microsoft.Xna.Framework.Rectangle

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

Метод Описание
Draw ( SpriteBatch theSpriteBatch ) : void
Draw ( SpriteBatch theSpriteBatch, Map map ) : void
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager theContentManager, string theAssetName ) : void
Update ( GameTime theGameTime, Vector2 theSpeed, Vector2 theDirection ) : void

Описание методов

Draw() публичный Метод

public Draw ( SpriteBatch theSpriteBatch ) : void
theSpriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
Результат void

Draw() публичный Метод

public Draw ( SpriteBatch theSpriteBatch, Map map ) : void
theSpriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
map Map
Результат void

LoadContent() публичный Метод

public LoadContent ( Microsoft.Xna.Framework.Content.ContentManager theContentManager, string theAssetName ) : void
theContentManager Microsoft.Xna.Framework.Content.ContentManager
theAssetName string
Результат void

Update() публичный Метод

public Update ( GameTime theGameTime, Vector2 theSpeed, Vector2 theDirection ) : void
theGameTime Microsoft.Xna.Framework.GameTime
theSpeed Vector2
theDirection Vector2
Результат void

Описание свойств

mPosition публичное свойство

public Vector2 mPosition
Результат Vector2

source публичное свойство

public Rectangle,Microsoft.Xna.Framework source
Результат Microsoft.Xna.Framework.Rectangle