src/authoring/entities/Roller.java
private void addDefaultComponents() {
		this.setHealth(INITIAL_HEALTH);
		this.setEntityType(TYPE);
		this.add(new Player(this.getID()));
		this.add(new Lives(this.getID(), INITIAL_LIVES));
		this.add(new RollerCollision(this.getID()));
		this.add(new RollerMovement(this.getID()));
		this.add(new Score(this.getID(), 0));
		this.add(new Jumps(this.getID(), 1));
		//this.add(new Animated(this.getID(), "animations/sonic/animation.properties"));
	}
/**
	 * Add the default components to the player object.
	 */
Add the default components to the player object.
Add the default components to the player object .
private void addDefaultComponents() {
		this.setHealth(INITIAL_HEALTH);
		this.setEntityType(TYPE);
		this.add(new Player(this.getID()));
		this.add(new Lives(this.getID(), INITIAL_LIVES));
		this.add(new RollerCollision(this.getID()));
		this.add(new RollerMovement(this.getID()));
		this.add(new Score(this.getID(), 0));
		this.add(new Jumps(this.getID(), 1));
	}
private void addDefaultComponents ( ) { this . setHealth ( INITIAL_HEALTH ) ; this . setEntityType ( TYPE ) ; this . add ( new Player ( this . getID ( ) ) ) ; this . add ( new Lives ( this . getID ( ) , INITIAL_LIVES ) ) ; this . add ( new RollerCollision ( this . getID ( ) ) ) ; this . add ( new RollerMovement ( this . getID ( ) ) ) ; this . add ( new Score ( this . getID ( ) , 0 ) ) ; this . add ( new Jumps ( this . getID ( ) , 1 ) ) ; }
Add the default components to the player object.
Add the default components to the player object .
//this.add(new Animated(this.getID(), "animations/sonic/animation.properties"));