obstacles for the map

Revision:
0:0c1bbee29dfe
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Column.cpp	Thu May 04 08:35:52 2017 +0000
@@ -0,0 +1,67 @@
+#include "Column.h"
+
+// Class constructor
+Column::Column()
+{
+
+}
+
+// Class destructor
+Column::~Column()
+{
+
+}
+
+// Initialise the column object
+void Column::init(int x,
+                  int y,
+                  int radius)
+{
+    _posX = x;
+    _posY = y;
+    _radius = radius;
+    //pc.printf("a wall has been initialized");
+}
+
+int Column::getPosX()
+{
+    return _posX;
+}
+
+int Column::getPosY()
+{
+    return _posY;
+}
+
+int Column::getRadius()
+{
+    return _radius;
+}
+
+int Column::getScenePosX()
+{
+    return _scenePosX;
+}
+
+int Column::getScenePosY()
+{
+    return _scenePosY;
+}
+
+void Column::setScenePosX(int x)
+{
+    _scenePosX = x;
+}
+
+void Column::setScenePosY(int y)
+{
+    _scenePosY = y;
+}
+
+// Draw a circle with the dimentions
+// given by the inetialiser
+void Column::draw(N5110 &lcd)
+{
+    lcd.drawCircle(_scenePosX, _scenePosY, _radius, FILL_BLACK);
+    //pc.printf("a column has been drawn");
+}
\ No newline at end of file