#ifndef PLAYS_UPFIELD_DEFENSE_H
#define PLAYS_UPFIELD_DEFENSE_H

#include "../baseplay.h"
#include "../basic_actions.h"

class UpfieldDefense : public BasePlay 
{
public:
  UpfieldDefense(VisionModule *vm);

  static Play playNum;
  
  Play getID() const {return playNum;}

  char* getName() const { return "Upfield Defense"; }
  
  virtual void initializePlay(const VisionData& vision, RobocupStrategyData* rsd);

  virtual void executePlay(VisionData* vision, RobocupStrategyData* rsd);

  virtual ActionFunction getActionFunction(Position pos);

  void loadValues();
};

#endif //PLAYS_UPFIELD_DEFENSE_H

