Implemented entity pooling, effect saving, other fixes

This commit is contained in:
Anuken
2018-04-17 18:57:03 -04:00
parent 23dc62dbd2
commit e7a4ce2e19
17 changed files with 213 additions and 85 deletions

View File

@@ -78,6 +78,7 @@ public class Weapon extends Upgrade{
void bullet(Unit owner, float x, float y, float angle){
tr.trns(angle, 3f);
new Bullet(type, owner, x + tr.x, y + tr.y, angle).add();
Bullet.create(type, owner, x + tr.x, y + tr.y, angle);
}
}