Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
Robot.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
robot_api.hpp
"
4
#include "
WorldAPI.hpp
"
5
6
#include <cstdint>
7
#include <functional>
8
#include <list>
9
#include <vector>
10
11
using
robot_api::Robot_Specs
;
12
using
robot_api::Robot_Status
;
13
19
class
Robot
20
{
21
public
:
38
virtual
Robot_Specs
createRobot
(
WorldAPI
* api,
int
skill_points, std::vector<std::uint8_t> message) = 0;
39
52
virtual
void
act
(
WorldAPI
& api,
Robot_Status
status, std::vector<std::vector<std::uint8_t> > received_radio) = 0;
53
};
Robot
Definition:
Robot.hpp:19
WorldAPI.hpp
Robot::createRobot
virtual Robot_Specs createRobot(WorldAPI *api, int skill_points, std::vector< std::uint8_t > message)=0
robot_api.hpp
WorldAPI
Definition:
WorldAPI.hpp:12
robot_api::Robot_Status
Definition:
robot_api.hpp:39
Robot::act
virtual void act(WorldAPI &api, Robot_Status status, std::vector< std::vector< std::uint8_t > > received_radio)=0
robot_api::Robot_Specs
Definition:
robot_api.hpp:20
Robot.hpp
Generated on Tue Dec 1 2015 18:20:05 by
1.8.9.1