src/SinglePlayer.hh
author Tero Marttila <terom@fixme.fi>
Mon, 26 Jan 2009 19:50:52 +0200
branchconsole_gui
changeset 429 a86c7c486b14
parent 409 1a03ff151abc
permissions -rw-r--r--
branch off Graphics/Console development
#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 */