public class Main { public class Main { public static void main(String[] args) { Stage stage = new Stage(2); Map<String, Sprite> sprites = new HashMap<>(); sprites.put("_1", new _1(1, -2, 90, Sprite.RotationStyle.ALL_AROUND, 1, 100, true, 3)); sprites.put("Convertible2", new Convertible2(-149, -125, 90, Sprite.RotationStyle.ALL_AROUND, 1, 100, true, 1)); sprites.put("Truck", new Truck(145, -122, 90, Sprite.RotationStyle.ALL_AROUND, 1, 100, true, 2)); sprites.put("_2", new _2(36, 28, 90, Sprite.RotationStyle.ALL_AROUND, 2, 100, true, 4)); sprites.put("_3", new _3(36, 28, 90, Sprite.RotationStyle.ALL_AROUND, 1, 100, false, 5)); sprites.put("_4", new _4(36, 28, 90, Sprite.RotationStyle.ALL_AROUND, 1, 100, false, 6)); Project project = new Project(stage, sprites, 30); // Set to 60 to make your project run faster } } }