17 lines
No EOL
383 B
C#
17 lines
No EOL
383 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class EntityMonster : Entity
|
|
{
|
|
public string monsterName;
|
|
|
|
public virtual void OnTurn(){
|
|
Debug.LogWarning("OnTurn() not overridden");
|
|
}
|
|
|
|
public override void Die() {
|
|
messageBar.Write("Killed: " + monsterName, Color.red);
|
|
Destroy(gameObject);
|
|
}
|
|
} |