From 3010473314505bd948c687ac644b7d87ef03298d Mon Sep 17 00:00:00 2001 From: Simponic Date: Tue, 30 Jun 2020 20:10:29 -0600 Subject: Updated file structure and changed indents to spaces --- flyingObject.h | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 flyingObject.h (limited to 'flyingObject.h') diff --git a/flyingObject.h b/flyingObject.h deleted file mode 100644 index 2e77e5e..0000000 --- a/flyingObject.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef flyingObject_h -#define flyingObject_h - -#include "point.h" -#include "velocity.h" -#include "uiDraw.h" - -class FlyingObject -{ -protected: - Point point; - Velocity velocity - bool alive; -public: - FlyingObject() : point( Point() ) , velocity( Velocity() ) , alive( true ) {} - Point getPoint() const { return this->point; } - void setPoint( const Point &point ) { this->point = point; } - Velocity getVelocity() const { return this->velocity; } - void setVelocity( const Velocity &velocity) { this->velocity = velocity; } - bool isAlive() { return this->alive; } - void kill() { alive = false; }; - virtual void draw() { drawDot( point ); }; - virtual void advance(); -}; - - - -#endif /* flyingObject_h */ -- cgit v1.2.3-70-g09d2