// MyClass.cs created with MonoDevelop // User: naugrim at 22:28 18/05/2009 // // To change standard headers go to Edit->Preferences->Coding->Standard Headers // using System; using System.Collections.Generic; using libcreature; namespace simplecreature { public class SimpleCreature : ICreature { private int points; private int damage, hp, los, speed; private string name = "Simple"; public int Points { get { return points; } set { points = value; damage = 1; hp = 1; los = 1; speed = 1; } } public int Damage { get { return damage; } } public int HP { get { return hp; } set { hp = value; } } public int LOS { get { return los; } } public int Speed { get { return speed; } } public string Name { get { return name; } } public void ChangeSight(List Objects) { // you may remember what is in your line of sight } public CreatureAction DoMove() { // action return CreatureAction.Forward; } } }