src/SinglePlayer.hh
author Tero Marttila <terom@fixme.fi>
Tue, 20 Jan 2009 22:00:24 +0200
changeset 406 a2e35ca66c74
parent 283 7540b0859579
child 409 1a03ff151abc
permissions -rw-r--r--
cleanup Terrain, use a single linear array instead of nested vectors
#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(PLAYER_INITIAL_X, PLAYER_INITIAL_Y), true)
        { 
        
        }
};

#endif /* SINGLE_PLAYER_HH */