C# Класс Descent.Model.Board.Marker.Marker

A generic marker that is on the board, that can be picked up and used
Наследование: Drawable
Показать файл Открыть проект

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

Метод Описание
Marker ( int id, string name, Microsoft.Xna.Framework.Graphics.Texture2D texture, int movementPoints ) : System.Diagnostics.Contracts

Initializes a new instance of the Marker class.

PickUp ( Hero hero ) : void

Picks up, or interacts with, the marker

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

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

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

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

Initializes a new instance of the Marker class.
public Marker ( int id, string name, Microsoft.Xna.Framework.Graphics.Texture2D texture, int movementPoints ) : System.Diagnostics.Contracts
id int /// The unique id of the marker ///
name string /// The name of the marker ///
texture Microsoft.Xna.Framework.Graphics.Texture2D /// The texture of the marker ///
movementPoints int /// The movement points that it costs to interact with it ///
Результат System.Diagnostics.Contracts

PickUp() публичный абстрактный Метод

Picks up, or interacts with, the marker
public abstract PickUp ( Hero hero ) : void
hero Hero /// The hero, standing on the marker ///
Результат void