2019-12-05 11:50:58 +01:00
|
|
|
#pragma once
|
|
|
|
|
2020-02-29 22:10:53 +01:00
|
|
|
#include "strategy_roles/game.h"
|
2019-12-05 11:50:58 +01:00
|
|
|
|
2021-02-22 18:43:43 +01:00
|
|
|
#define KEEPER_N_POINTS 3
|
2019-12-09 19:08:05 +01:00
|
|
|
|
|
|
|
class Keeper : public Game{
|
2019-12-05 11:50:58 +01:00
|
|
|
|
|
|
|
public:
|
|
|
|
Keeper();
|
2019-12-26 17:44:58 +01:00
|
|
|
Keeper(LineSystem*, PositionSystem*);
|
|
|
|
|
2019-12-09 19:08:05 +01:00
|
|
|
private:
|
|
|
|
void realPlay() override;
|
2019-12-26 17:44:58 +01:00
|
|
|
void init() override;
|
2019-12-05 11:50:58 +01:00
|
|
|
void keeper();
|
2019-12-09 19:08:05 +01:00
|
|
|
|
2021-02-22 18:43:43 +01:00
|
|
|
int point_spacing, ball_x;
|
2019-12-09 19:08:05 +01:00
|
|
|
};
|