From 35bf86df30b697130e6b80b570e29666b68d575d Mon Sep 17 00:00:00 2001
From: Alrik Appelfeldt <alrap417@student.liu.se>
Date: Wed, 6 Mar 2024 19:32:58 +0000
Subject: [PATCH] Delete ghost.cc

---
 Uppgift-3-Spel/ghost.cc | 51 -----------------------------------------
 1 file changed, 51 deletions(-)
 delete mode 100644 Uppgift-3-Spel/ghost.cc

diff --git a/Uppgift-3-Spel/ghost.cc b/Uppgift-3-Spel/ghost.cc
deleted file mode 100644
index 703cecd..0000000
--- a/Uppgift-3-Spel/ghost.cc
+++ /dev/null
@@ -1,51 +0,0 @@
-#include "ghost.h"
-
-Ghost::Ghost(const string &colorName, Point const &start_position)
-    : color_index(colorName), pos(start_position)
-    {}
-
-void Ghost::set_pos( Point &new_pos) {
-  pos = new_pos;
-}
-
-Point Ghost::get_pos() {
-  return pos;
-}
-
-bool Blinky::get_angry(){
-  return angry;
-}
-
-void Blinky::set_angry(bool state) {
-  angry = state;
-}
-
-Blinky::Blinky(std::string const &color, Point const &start_pos) 
-      : Ghost("red", start_pos)
-      {}
-
-void Blinky::set_pos(Point &new_pos) {
-  set_pos(new_pos);
-}
-
-Point Blinky::get_scatter(const Point &pos_pacman) {
-  if (angry == true)
-  {
-    return Point{pos_pacman.x, pos_pacman.y}; // stämmer?
-  } else
-  {
-    return Point{6, 6};
-  }
-}
-
-Point Blinky::get_chase(const Point &pos_pacman, const Point &dir_pacman) {
-  return Point{pos_pacman.x, pos_pacman.y};
-}
-
-Point Blinky::get_pos() {
-  return pos;
-}
-
-std::string Blinky::get_color() {
-  return "pink";
-}
\ No newline at end of file
-- 
GitLab