Steven Mahasin / Mbed 2 deprecated DreamDungeon

Dependencies:   mbed MotionSensor

Committer:
el17sm
Date:
Thu May 09 08:02:07 2019 +0000
Revision:
53:93338b52489d
Parent:
34:1d5b4da3935e
Child:
58:c8d90bb7404a
Bullets commented

Who changed what in which revision?

UserRevisionLine numberNew contents of line
el17sm 32:fe6359ef9916 1 #ifndef BULLETS_H
el17sm 32:fe6359ef9916 2 #define BULLETS_H
el17sm 32:fe6359ef9916 3 #include "Entity.h"
el17sm 32:fe6359ef9916 4
el17sm 32:fe6359ef9916 5 class Bullets : public Entity
el17sm 32:fe6359ef9916 6 {
el17sm 32:fe6359ef9916 7
el17sm 32:fe6359ef9916 8 public:
el17sm 32:fe6359ef9916 9 // Constructor
el17sm 32:fe6359ef9916 10 Bullets(float, float, int);
el17sm 32:fe6359ef9916 11
el17sm 32:fe6359ef9916 12 // Functions
el17sm 34:1d5b4da3935e 13 virtual void move(float, float, char * map, bool * doorways);
el17sm 32:fe6359ef9916 14 virtual void draw(N5110 &lcd);
el17sm 32:fe6359ef9916 15 virtual void take_damage(int damage);
el17sm 34:1d5b4da3935e 16 bool out_of_bounds_check(char * map, bool * doorways);
el17sm 32:fe6359ef9916 17 };
el17sm 32:fe6359ef9916 18
el17sm 33:4f3948dcd2f7 19 const char bullets_sprite[3][3] = {{1,1,1},
el17sm 32:fe6359ef9916 20 {1,1,1},
el17sm 32:fe6359ef9916 21 {1,1,1}
el17sm 32:fe6359ef9916 22 };
el17sm 32:fe6359ef9916 23
el17sm 32:fe6359ef9916 24 #endif