C# Класс CastleEscape.NPE

Represents a non-player entity. Author: Dennis Honeyman
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
DrawBase ( SpriteBatch spriteBatch, ScriptableMap map, int x, int y ) : void
DrawTop ( SpriteBatch spriteBatch, ScriptableMap map, int x, int y ) : void
Interact ( Player player, ScriptableMap map ) : void
NPE ( Microsoft.Xna.Framework.Game game ) : System
SetInteractFunc ( Action func ) : void
SetPosition ( int x, int y ) : void
SetTexture ( string textureName ) : void

Приватные методы

Метод Описание
interact ( object player ) : void

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

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

public DrawBase ( SpriteBatch spriteBatch, ScriptableMap map, int x, int y ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
map ScriptableMap
x int
y int
Результат void

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

public DrawTop ( SpriteBatch spriteBatch, ScriptableMap map, int x, int y ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
map ScriptableMap
x int
y int
Результат void

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

public Interact ( Player player, ScriptableMap map ) : void
player Player
map ScriptableMap
Результат void

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

public NPE ( Microsoft.Xna.Framework.Game game ) : System
game Microsoft.Xna.Framework.Game
Результат System

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

public SetInteractFunc ( Action func ) : void
func Action
Результат void

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

public SetPosition ( int x, int y ) : void
x int
y int
Результат void

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

public SetTexture ( string textureName ) : void
textureName string
Результат void