C# Класс AnimatedSprite.CrossHair

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

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

Метод Описание
CrossHair ( Vector2 userPosition, List cursor, int frameWidth, int frameHeight, float layerDepth ) : System
Draw ( SpriteBatch spriteBatch, Microsoft.Xna.Framework.Graphics.Texture2D tx ) : void
Update ( GameTime gametime ) : void

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

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

public CrossHair ( Vector2 userPosition, List cursor, int frameWidth, int frameHeight, float layerDepth ) : System
userPosition Vector2
cursor List
frameWidth int
frameHeight int
layerDepth float
Результат System

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

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

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

public Update ( GameTime gametime ) : void
gametime Microsoft.Xna.Framework.GameTime
Результат void