Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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 };
Generated on Wed Jul 13 2022 01:21:55 by
1.7.2