src/SinglePlayer.hh
author Tero Marttila <terom@fixme.fi>
Wed, 21 Jan 2009 00:21:42 +0200
changeset 409 1a03ff151abc
parent 283 7540b0859579
permissions -rw-r--r--
add --terrain-seed and --terrain-size arguments, plus bugfixes
#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 */