Skip to content
Snippets Groups Projects
Commit 771aa48f authored by Fodor Patrik's avatar Fodor Patrik :ghost:
Browse files

Tmp settler inventory

parent 3956f95b
Branches Patrik
Tags
1 merge request!108Patrik
Pipeline #7657 failed
Pipeline: tester

#7658

    ......@@ -7,7 +7,9 @@ import javafx.scene.layout.BorderPane;
    import javafx.scene.layout.GridPane;
    import javafx.stage.Stage;
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    ......@@ -53,6 +55,15 @@ public class GUI extends Application {
    Game.getAsteroids().get(0).move(s1);
    Game.getAsteroids().get(0).move(s2);
    List<Material> materialList = new ArrayList<>();
    materialList.add(new Ice());
    materialList.add(new Iron());
    materialList.add(new Iron());
    materialList.add(new Uranium());
    s1.setInventory(materialList);
    }
    private static class MainRunnable implements Runnable {
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment