Class AbstractCompositeEntity.CollisionCalculationResult

  • Enclosing class:
    AbstractCompositeEntity

    public static class AbstractCompositeEntity.CollisionCalculationResult
    extends Object
    Result of a collision calculation
    • Field Detail

      • otherCompositeEntity

        public AbstractCompositeEntity otherCompositeEntity
        Other composite involved in the collision
      • collidingEntities

        public List<AbstractEntity> collidingEntities
        Entities directly involved in the collision
      • p0

        public CoordD2 p0
        Acceleration vector affecting this composite
      • p1

        public CoordD2 p1
        Acceleration vector affecting the other composite
      • dmg0

        public double dmg0
        Damage amount this composite receives
      • dmg1

        public double dmg1
        Damage amount the other composite receives
    • Constructor Detail

      • CollisionCalculationResult

        public CollisionCalculationResult()