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
파일 보기 프로젝트 열기: propra13-orga/gruppe22 1 사용 예제들

공개 메소드들

메소드 설명
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