terom@185: #ifndef SINGLE_PLAYER_HH terom@185: #define SINGLE_PLAYER_HH terom@185: terom@185: #include "GameState.hh" terom@185: terom@283: /** terom@283: * Simple class used to define the LocalPlayer used by Engine to run a local non-network game terom@283: */ terom@185: class SinglePlayer : public LocalPlayer { terom@185: public: terom@209: SinglePlayer (GameState &state) : terom@409: Player(state, Vector(state.world.dimensions / 2), true) terom@209: { terom@209: terom@209: } terom@185: }; terom@185: terom@185: #endif /* SINGLE_PLAYER_HH */