Steven Mahasin / Mbed 2 deprecated DreamDungeon

Dependencies:   mbed MotionSensor

Committer:
el17sm
Date:
Sun Apr 21 23:23:35 2019 +0000
Revision:
10:1a3499f6b583
Child:
11:63e54f6e7939
Added entity_collision, Added start of Bullets,; ; Problems:; Headless can be inside player without detected by entity_collision if on the same y level

Who changed what in which revision?

UserRevisionLine numberNew contents of line
el17sm 10:1a3499f6b583 1 //#include "Bullets.h"
el17sm 10:1a3499f6b583 2 //
el17sm 10:1a3499f6b583 3 //Bullets::Bullets(float pos_x, float pos_y){
el17sm 10:1a3499f6b583 4 // moving = false;
el17sm 10:1a3499f6b583 5 // face = 0;
el17sm 10:1a3499f6b583 6 // hp = 0;
el17sm 10:1a3499f6b583 7 // hitbox.width = 2;
el17sm 10:1a3499f6b583 8 // hitbox.height = 2;
el17sm 10:1a3499f6b583 9 // position.x = pos_x;
el17sm 10:1a3499f6b583 10 // position.y = pos_y;
el17sm 10:1a3499f6b583 11 // sprite_size.width = 6;
el17sm 10:1a3499f6b583 12 // sprite_size.height = 12;
el17sm 10:1a3499f6b583 13 // sprite_size.offset_x = 0;
el17sm 10:1a3499f6b583 14 // sprite_size.offset_y = 7;
el17sm 10:1a3499f6b583 15 //}