Ca passe ?

This commit is contained in:
Grough 2024-07-04 20:33:06 +02:00
parent b0432e7188
commit 18d60590d6
5 changed files with 19 additions and 12 deletions

View File

@ -1,15 +1,8 @@
//TIP To <b>Run</b> code, press <shortcut actionId="Run"/> or
// click the <icon src="AllIcons.Actions.Execute"/> icon in the gutter.
import systems.Game;
public class Main {
public static void main(String[] args) {
//TIP Press <shortcut actionId="ShowIntentionActions"/> with your caret at the highlighted text
// to see how IntelliJ IDEA suggests fixing it.
System.out.printf("Hello and welcome!");
for (int i = 1; i <= 5; i++) {
//TIP Press <shortcut actionId="Debug"/> to start debugging your code. We have set one <icon src="AllIcons.Debugger.Db_set_breakpoint"/> breakpoint
// for you, but you can always add more by pressing <shortcut actionId="ToggleLineBreakpoint"/>.
System.out.println("i = " + i);
}
System.out.print("Hello and welcome!");
Game game = new Game();
}
}

View File

@ -1,2 +1,4 @@
package events;
public abstract class Event {
}

4
src/items/Item.java Normal file
View File

@ -0,0 +1,4 @@
package items;
abstract class Item {
}

4
src/rules/Action.java Normal file
View File

@ -0,0 +1,4 @@
package rules;
public interface Action {
}

4
src/systems/Game.java Normal file
View File

@ -0,0 +1,4 @@
package systems;
public class Game {
}