snakeplusplus/src/botinterface.hpp

21 lines
476 B
C++
Raw Normal View History

#ifndef BOTINTERFACE_HPP
#define BOTINTERFACE_HPP
#include "common.hpp"
2023-10-13 19:07:08 -05:00
#include <stack>
#include <vector>
#include <SFML/System/Vector2.hpp>
namespace snakeplusplus
{
2023-10-13 19:07:08 -05:00
class AISnake {
public:
std::stack<sf::Vector2f> path;
AISnake();
void GetNewPath(const std::vector< std::vector<char> >& gameBoard, const sf::Vector2f& source, const sf::Vector2f& boundaries);
PlayerDirection GetInput(const sf::Vector2f* source);
};
}
#endif