package fi.hbp.angr.models; import com.badlogic.gdx.physics.box2d.Body; import fi.hbp.angr.logic.DamageModel; /** * Interface for destructible models/items. */ public interface Destructible { /** * Get damage model of this object * @return Damage model */ DamageModel getDatamageModel(); /** * Set body as destroyed * * This information can be used for sprite rendering. */ void setDestroyed(); /** * Get destroyed status */ boolean isDestroyed(); /** * Get Box2D body * * This is used to remove body from the world * @return Body. */ Body getBody(); }