src/SinglePlayer.hh
author Tero Marttila <terom@fixme.fi>
Thu, 22 Jan 2009 03:53:17 +0200
changeset 423 947ab54de4b7
parent 409 1a03ff151abc
permissions -rw-r--r--
fix worst compilation errors when using the debian lenny gcc/libc...
#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 */