From 50d2348bfda97cc2b36d3f99fd47e08e63872c9c Mon Sep 17 00:00:00 2001 From: andyh98 <hameea1@mcmaster.ca> Date: Fri, 9 Nov 2018 19:44:39 -0500 Subject: [PATCH] Edit files to remove unnecessary associations --- BlankProjectTemplate/src/Food.py | 4 ++-- BlankProjectTemplate/src/Gameplay.py | 1 - BlankProjectTemplate/src/highscore.py | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/BlankProjectTemplate/src/Food.py b/BlankProjectTemplate/src/Food.py index 561c0ff..fde0949 100644 --- a/BlankProjectTemplate/src/Food.py +++ b/BlankProjectTemplate/src/Food.py @@ -10,8 +10,8 @@ class Food(): ## @brief Food constructor - # @details Initializez the size of the food, this needs to be the same as snake's - # block size + # @details Initializes the size of the food, this needs to be the same as + # snake's block size # @param blockSize the width and height of the square block representing the food def __init__(self, blockSize): self.size = blockSize diff --git a/BlankProjectTemplate/src/Gameplay.py b/BlankProjectTemplate/src/Gameplay.py index 68f0b2a..de18007 100644 --- a/BlankProjectTemplate/src/Gameplay.py +++ b/BlankProjectTemplate/src/Gameplay.py @@ -7,7 +7,6 @@ from random import randint from Snake import * from Food import * -from init import * # One size for all blocks created for snake size = 20 diff --git a/BlankProjectTemplate/src/highscore.py b/BlankProjectTemplate/src/highscore.py index 0a784db..8cd06be 100644 --- a/BlankProjectTemplate/src/highscore.py +++ b/BlankProjectTemplate/src/highscore.py @@ -1,5 +1,4 @@ import pygame, sys -import Interface class HighScore(): def runfile(runfilename): -- GitLab