public Outfit(Creature creature, ushort looktype, byte head, byte body, byte legs, byte feet, byte addons) { this.creature = creature; this.lookType = looktype; this.head = head; this.body = body; this.legs = legs; this.feet = feet; this.addons = addons; }
public List<Creature> GetCreatures(Predicate<Creature> match) { List<Creature> creatures = new List<Creature>(); for (uint i = Addresses.BattleList.Start; i < Addresses.BattleList.End; i += Addresses.BattleList.StepCreatures) { Creature creature = new Creature(client, i); if (match(creature)) creatures.Add(creature); } return creatures; }
public void Update(Creature c) { name = c.Name; location = c.Location; hpBar = c.HPBar; }
public MapMarker(Creature c, bool drawHP) { drawHPBar = drawHP; creature = c; Update(); }
public MapMarker(Creature c) : this(c, true) { }