src/SinglePlayer.hh
author Tero Marttila <terom@fixme.fi>
Tue, 27 Jan 2009 00:25:58 +0200
changeset 439 9823e6cd1086
parent 409 1a03ff151abc
permissions -rw-r--r--
some README text
#ifndef SINGLE_PLAYER_HH
#define SINGLE_PLAYER_HH

#include "GameState.hh"

/**
 * Simple class used to define the LocalPlayer used by Engine to run a local non-network game
 */
class SinglePlayer : public LocalPlayer {
    public:
        SinglePlayer (GameState &state) :
            Player(state, Vector(state.world.dimensions / 2), true)
        { 
        
        }
};

#endif /* SINGLE_PLAYER_HH */