src/SinglePlayer.hh
author terom
Wed, 17 Dec 2008 00:40:22 +0000
changeset 381 9b35bc329d23
parent 283 7540b0859579
child 409 1a03ff151abc
permissions -rw-r--r--
separate sockaddr stuff out of NetworkAddress... now called NetworkEndpoint
#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 */