Beispiel #1
0
        public Creature(int x, int y, int z, String name, String desc, char displaychar, Body body, CharStats stats)
        {
            _guid = System.Guid.NewGuid().ToString();
            this.x = x;
            this.y = y;
            this.z = z;
            _name = name;
            _desc = desc;

            _char = displaychar;

            this.Body = body;
            this.Stats = stats;
            Inventory = new WeightedInventory<Item>(Stats.GetCarryCapacity());
            Equip = new Equipment<EquippableItem>();

            energy = 0;
            energyReg = 1.0d;
        }
Beispiel #2
0
 public AICreature(int x, int y, int z, String name, String desc, char displaychar, Bodies.Body body, CharStats stats)
     : base(x,y,z,name,desc, displaychar, body, stats)
 {
 }
Beispiel #3
0
 public Player(int x, int y, int z, String name, String desc, char displaychar, Body body, CharStats stats)
     : base(x, y, z, name, desc, displaychar, body, stats)
 {
     energyReg = 1.1d;
 }