23#ifndef ULTIMA2_LOGIC_DUNGEON_LOGIC_H
24#define ULTIMA2_LOGIC_DUNGEON_LOGIC_H
26#include "ultima/ultima2/logic/logic.h"
42 byte &cellAt(
int x,
int y)
const;
48 int findMonsterAhead()
const;
61 void changeLevel(
int delta);
68 void killMonster(
int slot);
79 bool monsterAttacks(
int slot);
86 int tryMoveMonster(
int slot,
int x,
int y);
92 bool move(Data::Direction dir)
override;
93 bool descend()
override;
94 bool klimb()
override;
108 bool attack(Data::Direction dir)
override;
Definition: dungeon_logic.h:37
void entering() override
Definition: dungeon_logic.h:104
bool castSpell(Data::SpellType spell) override
void updateCreatures() override