public void AddMonster(Monster m) { _monsters[m.ID] = m; // Send this monster to all plaers foreach (Connection c in _players.Values) { c.SendPacket(new NPCInfoPacket(m)); } }
public Monster Instantiate(Location loc) { Monster m = new Monster(loc, this); return m; }
public PlayerGetAttackedPacket(Monster attacker, CharacterInfo victim, ushort attackType) { _attacker = attacker; _ci = victim; _motion = 1; _attackType = attackType; }