diff --git a/src/Snake.cpp b/src/Snake.cpp index b0fba5b..c9df30a 100644 --- a/src/Snake.cpp +++ b/src/Snake.cpp @@ -51,5 +51,5 @@ void Snake::MoveSnake() */ return; } -SnakeNode::SnakeNode(); -SnakeNode::SnakeNode(sf::Vector2f addBodyPiece); +// SnakeNode::SnakeNode(); +// SnakeNode::SnakeNode(sf::Vector2f addBodyPiece); diff --git a/src/Snake.h b/src/Snake.h index 5c9e4c5..0dc52d6 100644 --- a/src/Snake.h +++ b/src/Snake.h @@ -6,16 +6,16 @@ bool SnakeCollision(sf::RectangleShape object1, sf::RectangleShape object2); void SnakeMovement(sf::Keyboard keyboard); -class SnakeNode -{ -private: - // sf::RectangleShape snakeBody(sf::Vector2f(25,25)); - sf::Vector2f snakeBodyLocation; - SnakeNode* next; -public: - SnakeNode(); - SnakeNode(sf::Vector2f addBodyPiece); -}; +// class SnakeNode +// { +// private: +// // sf::RectangleShape snakeBody(sf::Vector2f(25,25)); +// sf::Vector2f snakeBodyLocation; +// SnakeNode* next; +// public: +// SnakeNode(); +// SnakeNode(sf::Vector2f addBodyPiece); +// }; class Snake {