diff options
author | Littleboy | 2011-06-22 02:20:15 -0400 |
---|---|---|
committer | Littleboy | 2011-06-22 19:31:32 -0400 |
commit | 434a2e66b1fc59e1b7732591cfefd7e389905817 (patch) | |
tree | 7af6d4f7f39bd908c8771d33f1dd93211f3b7273 /engines/lastexpress/fight/fighter_anna.h | |
parent | 3c2a9b292f5a851529fb0196eab662fd9996a459 (diff) | |
download | scummvm-rg350-434a2e66b1fc59e1b7732591cfefd7e389905817.tar.gz scummvm-rg350-434a2e66b1fc59e1b7732591cfefd7e389905817.tar.bz2 scummvm-rg350-434a2e66b1fc59e1b7732591cfefd7e389905817.zip |
LASTEXPRESS: Refactor Fight class
- Replace structs holding function pointers by proper classes
- Move each fighter functions to separate files
Diffstat (limited to 'engines/lastexpress/fight/fighter_anna.h')
-rw-r--r-- | engines/lastexpress/fight/fighter_anna.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/engines/lastexpress/fight/fighter_anna.h b/engines/lastexpress/fight/fighter_anna.h new file mode 100644 index 0000000000..abb6f9dc64 --- /dev/null +++ b/engines/lastexpress/fight/fighter_anna.h @@ -0,0 +1,48 @@ +/* ScummVM - Graphic Adventure Engine + * + * ScummVM is the legal property of its developers, whose names + * are too numerous to list here. Please refer to the COPYRIGHT + * file distributed with this source distribution. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + +#ifndef LASTEXPRESS_FIGHTER_ANNA_H +#define LASTEXPRESS_FIGHTER_ANNA_H + +#include "lastexpress/fight/fighter.h" + +namespace LastExpress { + +class LastExpressEngine; + +class FighterPlayerAnna : public Fighter { +public: + FighterPlayerAnna(LastExpressEngine *engine); + + virtual void handleAction(FightAction action); +}; + +class FighterOpponentAnna : public Opponent { +public: + FighterOpponentAnna(LastExpressEngine *engine); + + virtual void update(); +}; + +} // End of namespace LastExpress + +#endif // LASTEXPRESS_FIGHTER_ANNA_H |