2024-10-23 19:40:25 +02:00

47 lines
1.1 KiB
Java

package fr.enssat.BoulderDash.models;
import fr.enssat.BoulderDash.models.DisplayableElementModel;
/**
* SteelWallModel
*
* Represents the steelWall
*
* @author Colin Leverger <me@colinleverger.fr>
* @since 2015-06-19
*/
public class SteelWallModel extends DisplayableElementModel {
private static String spriteName;
private static boolean isDestructible;
private static boolean canMove;
private static boolean impactExplosive;
private static boolean animate;
private static int priority;
private static boolean falling;
private static String collideSound;
/**
* Static dataset
* Specifies the physical parameters of the object
*/
static {
spriteName = "steelwall";
isDestructible = false;
canMove = false;
impactExplosive = false;
animate = false;
priority = 3;
falling = false;
collideSound = "touch";
}
/**
* Class constructor
*/
public SteelWallModel() {
super(isDestructible, canMove, spriteName, priority, impactExplosive, animate, falling, collideSound);
this.loadSprite(spriteName);
}
}