From 5c00cfc353689534924fcf27b9a00778f5682d9a Mon Sep 17 00:00:00 2001 From: fdai8040 Date: Sat, 3 Feb 2024 17:57:59 +0000 Subject: [PATCH] =?UTF-8?q?Hinzuf=C3=BCgen=20Ballstruktur?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/Pong/test_updateBallPosition.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/Pong/test_updateBallPosition.c b/test/Pong/test_updateBallPosition.c index 5894273..fe5fc3d 100644 --- a/test/Pong/test_updateBallPosition.c +++ b/test/Pong/test_updateBallPosition.c @@ -2,6 +2,13 @@ #include "unity.h" #include "pong.h" +typedef struct { + int x; + int y; + int speedX; + int speedY; +} Ball; + void setUp(void){ //Wenn Funktion Vorraussetzungen braucht }