Peoplemon  0.1.0
Peoplemon 3 game source documentation
RemoteController.cpp
Go to the documentation of this file.
2 
3 namespace core
4 {
5 namespace battle
6 {
7 const std::string& RemoteController::name() const {
8  static const std::string n = "<NETWORK>";
9  return n;
10 }
11 
13 
14 void RemoteController::startChooseAction() {
15  // TODO - get from network
16 }
17 
18 void RemoteController::startChoosePeoplemon(bool, bool) {
19  // TODO - get from network
20 }
21 
22 void RemoteController::startChooseToContinue() { chooseGiveUp(false); }
23 
25  // TODO - send command over network
26  return false;
27 }
28 
29 bool RemoteController::isHost() const { return false; }
30 
31 } // namespace battle
32 } // namespace core
Id
Represents an item in its simplist form.
Definition: Id.hpp:24
Core classes and functionality for both the editor and game.
void chooseGiveUp(bool yes)
Choose whether to give up or not.
virtual bool isHost() const override
Returns false.
virtual bool removeItem(item::Id item) override
Removes the item from the battler's inventory.
virtual void refresh() override
Does nothing.
virtual const std::string & name() const override
Returns the name of the battler.