C# Класс Descent.Model.Player.Figure.Monster

A monster, controlled by the Overlord
Наследование: Figure
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Clone ( int newID ) : Monster

Returns a clone of the monster, but with a new unique ID

Monster ( int id, string name, bool master, int speed, int health, int armor, EAttackType type, List dice, List abilities, Rectangle size, Microsoft.Xna.Framework.Graphics.Texture2D texture ) : System.Collections.Generic

Initializes a new instance of the Monster class.

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

Метод Описание
ObjectInvariant ( ) : void

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

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

Returns a clone of the monster, but with a new unique ID
public Clone ( int newID ) : Monster
newID int /// The new id of the monser ///
Результат Monster

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

Initializes a new instance of the Monster class.
public Monster ( int id, string name, bool master, int speed, int health, int armor, EAttackType type, List dice, List abilities, Rectangle size, Microsoft.Xna.Framework.Graphics.Texture2D texture ) : System.Collections.Generic
id int /// The monster id /// This is unique for all monsters, even several instances of /// the same monster. ///
name string /// The name. ///
master bool /// The master. ///
speed int /// The speed. ///
health int /// The health. ///
armor int /// The armor. ///
type EAttackType /// The type. ///
dice List /// The dice. ///
abilities List
size Microsoft.Xna.Framework.Rectangle
texture Microsoft.Xna.Framework.Graphics.Texture2D
Результат System.Collections.Generic