collideTerrain (#6059)

* collideTerrain

* Combine code
This commit is contained in:
Matthew Peng
2021-09-27 15:11:36 -04:00
committed by GitHub
parent 13b92519f1
commit 2f9bf6e13f
2 changed files with 8 additions and 2 deletions
@@ -93,6 +93,8 @@ public class BulletType extends Content implements Cloneable{
public boolean collides = true;
/** If true, this projectile collides with non-surface floors. */
public boolean collideFloor = false;
/** If true, this projectile collides with static walls */
public boolean collideTerrain = false;
/** Whether velocity is inherited from the shooter. */
public boolean keepVelocity = true;
/** Whether to scale lifetime (not actually velocity!) to disappear at the target position. Used for artillery. */