Barriers are queried, created when colliding with creatures

This commit is contained in:
2016-04-04 02:41:14 +10:00
parent 7205d6692c
commit 8749d1fd93
7 changed files with 84 additions and 9 deletions
+6 -1
View File
@@ -22,7 +22,12 @@
#include "character_data.hpp"
CharacterData::CharacterData(): Entity("character") {
//EMPTY
SetBounds({
CHARACTER_BOUNDS_X,
CHARACTER_BOUNDS_Y,
CHARACTER_BOUNDS_WIDTH,
CHARACTER_BOUNDS_HEIGHT
});
}
int CharacterData::GetOwner() {