Zachary Reyes / Lab4_gnuarmeclipse_lpc1768

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Buzzy.h Source File

Buzzy.h

00001 #pragma once
00002 
00003 #include "Sprite.h"
00004 
00005 class Buzzy : public Sprite
00006 {
00007     public:
00008         Buzzy(){m_CurrentDirection = m_DesiredDirection = Sprite::LEFT_DIR;m_nActiveImage=0;};
00009         // Constructor
00010         Buzzy(enDIRECTIONS inDir, unsigned int inRow, unsigned int inCol);
00011 
00012         virtual ~Buzzy(){};
00013         virtual void Move();
00014         virtual bool IsMoveAllowed(const int &nNewRow, const int &nNewCol);
00015 
00016         void DrawInNewLocation(const int &nRow,const int &nCol);
00017         bool DidGhostGetBuzzy();
00018         
00019 };