Terminus
remoteplayer.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <memory>
4 
5 #include "abstractplayer.h"
6 
7 namespace terminus
8 {
9 
10 class Train;
11 
18 {
19 public:
20  RemotePlayer(World & world, Train *train);
21 
22 protected:
23 
24 };
25 }
The RemotePlayer class represents a player whose actions get transmitted over network. It does not contain any logic; the sole purpose of this class is to distinguish different player types.
Definition: remoteplayer.h:17
RemotePlayer(World &world, Train *train)
Definition: remoteplayer.cpp:8
Train * train()
Definition: abstractplayer.cpp:128
The World class represents a running game instance and contains all graphical (3D) elements of the sc...
Definition: world.h:46
Definition: eventhandler.cpp:18
The AbstractPlayer class is the base class for interacting with a train and a camera.
Definition: abstractplayer.h:21
The Train class works as a logical container for all wagons one train consists of.
Definition: train.h:25