C# Класс Gruppe22.Backend.Enemy

The class used to generate computer controlled enemies in the game. The enemies are a type of actors like the player is.
Наследование: Actor
Показать файл Открыть проект Примеры использования класса

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

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

Method to increase random skills and abilities while there are skill-/ability-points.

Enemy ( int health = -1, int armour = -1, int damage = -1, int maxHealth = -1, string name = "", Random r = null, int level = 1 ) : System

The constructor for an enemy. Calls the contructor for an actor and sets enemy-specific properties. Chooses a random graphic for the enemy suitable to the level the enemy is in. For the params see actor.

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

AssignSkillsAndAbilities() публичный метод

Method to increase random skills and abilities while there are skill-/ability-points.
public AssignSkillsAndAbilities ( ) : void
Результат void

Enemy() публичный метод

The constructor for an enemy. Calls the contructor for an actor and sets enemy-specific properties. Chooses a random graphic for the enemy suitable to the level the enemy is in. For the params see actor.
public Enemy ( int health = -1, int armour = -1, int damage = -1, int maxHealth = -1, string name = "", Random r = null, int level = 1 ) : System
health int
armour int
damage int
maxHealth int
name string
r System.Random
level int
Результат System