src/SinglePlayer.hh
changeset 409 1a03ff151abc
parent 283 7540b0859579
equal deleted inserted replaced
408:e6cfc44266af 409:1a03ff151abc
     7  * Simple class used to define the LocalPlayer used by Engine to run a local non-network game
     7  * Simple class used to define the LocalPlayer used by Engine to run a local non-network game
     8  */
     8  */
     9 class SinglePlayer : public LocalPlayer {
     9 class SinglePlayer : public LocalPlayer {
    10     public:
    10     public:
    11         SinglePlayer (GameState &state) :
    11         SinglePlayer (GameState &state) :
    12             Player(state, Vector(PLAYER_INITIAL_X, PLAYER_INITIAL_Y), true)
    12             Player(state, Vector(state.world.dimensions / 2), true)
    13         { 
    13         { 
    14         
    14         
    15         }
    15         }
    16 };
    16 };
    17 
    17