PowerUps/JumpBoost
neue Klassen: PowerUps, JumpBoostItem Die aktivieren und das deaktivieren der PowerUps wird im Player durchgeführt.
This commit is contained in:
@@ -19,6 +19,7 @@ public class PlayerTestWorld extends World
|
||||
super(600, 400, 1);
|
||||
prepare();
|
||||
}
|
||||
|
||||
/**
|
||||
* Prepare the world for the start of the program.
|
||||
* That is: create the initial objects and add them to the world.
|
||||
@@ -29,5 +30,7 @@ public class PlayerTestWorld extends World
|
||||
addObject(ground,260,375);
|
||||
Player player = new Player();
|
||||
addObject(player,264,237);
|
||||
JumpBoostItem jumpBoostItem = new JumpBoostItem();
|
||||
addObject(jumpBoostItem,206,200);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user