Rally X
ELEN3009 Project by Justin Wernick and David Schneider
source/logic/GameObject.cpp
Go to the documentation of this file.
00001 #include "GameObject.h"
00002 
00003 GameObject::GameObject(double x, double y, BitmapStore::Image image, Maze::Direction facing)
00004     :_x(x), _y(y), _destroyed(false), _image(image), _facing(facing)
00005 {
00006 }
00007 
00008 double GameObject::x() const
00009 {
00010     return _x;
00011 }
00012 double GameObject::y() const
00013 {
00014     return _y;
00015 }
00016 bool GameObject::destroyed() const
00017 {
00018     return _destroyed;
00019 }
00020 BitmapStore::Image GameObject::image() const
00021 {
00022     return _image;
00023 }
00024 Maze::Direction GameObject::facing() const
00025 {
00026     return _facing;
00027 }
 All Classes Files Functions Variables Typedefs Enumerations Enumerator