New collision detection

This commit is contained in:
2021-03-13 15:05:16 +01:00
parent 258ce51cfe
commit d2cf54556e
12 changed files with 186 additions and 125 deletions
+1 -1
View File
@@ -137,7 +137,7 @@ bool RenderObject::getKilled() {
return kill;
}
void RenderObject::setColiderColor( const std::string &color ) {
colider_color = getColorsHEX( color );
colider_color = getSDLColorHEX( color );
}
void RenderObject::animate( int ticks ) {