Bläddra i källkod

updated game entity

Rachelle 6 år sedan
förälder
incheckning
e728bbeee0
2 ändrade filer med 8 tillägg och 15 borttagningar
  1. 6
    13
      .idea/workspace.xml
  2. 2
    2
      src/main/java/com/example/demo/Entity/Game.java

+ 6
- 13
.idea/workspace.xml Visa fil

@@ -2,13 +2,6 @@
2 2
 <project version="4">
3 3
   <component name="ChangeListManager">
4 4
     <list default="true" id="e7490434-64fb-4385-9a0e-a04ccfae4c30" name="Default" comment="">
5
-      <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
6
-      <change beforePath="$PROJECT_DIR$/MyPassionProjectClient/src/pages/game-search/game-search.ts" beforeDir="false" afterPath="$PROJECT_DIR$/MyPassionProjectClient/src/pages/game-search/game-search.ts" afterDir="false" />
7
-      <change beforePath="$PROJECT_DIR$/MyPassionProjectClient/src/pages/my-games/my-games.html" beforeDir="false" afterPath="$PROJECT_DIR$/MyPassionProjectClient/src/pages/my-games/my-games.html" afterDir="false" />
8
-      <change beforePath="$PROJECT_DIR$/MyPassionProjectClient/src/pages/summary/summary.html" beforeDir="false" afterPath="$PROJECT_DIR$/MyPassionProjectClient/src/pages/summary/summary.html" afterDir="false" />
9
-      <change beforePath="$PROJECT_DIR$/MyPassionProjectClient/src/pages/summary/summary.ts" beforeDir="false" afterPath="$PROJECT_DIR$/MyPassionProjectClient/src/pages/summary/summary.ts" afterDir="false" />
10
-      <change beforePath="$PROJECT_DIR$/MyPassionProjectClient/src/providers/games-service.ts" beforeDir="false" afterPath="$PROJECT_DIR$/MyPassionProjectClient/src/providers/games-service.ts" afterDir="false" />
11
-      <change beforePath="$PROJECT_DIR$/MyPassionProjectClient/src/providers/users-service.ts" beforeDir="false" afterPath="$PROJECT_DIR$/MyPassionProjectClient/src/providers/users-service.ts" afterDir="false" />
12 5
       <change beforePath="$PROJECT_DIR$/src/main/java/com/example/demo/Entity/Game.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/example/demo/Entity/Game.java" afterDir="false" />
13 6
     </list>
14 7
     <ignored path="$PROJECT_DIR$/target/" />
@@ -73,8 +66,8 @@
73 66
       <file leaf-file-name="Game.java" pinned="false" current-in-tab="true">
74 67
         <entry file="file://$PROJECT_DIR$/src/main/java/com/example/demo/Entity/Game.java">
75 68
           <provider selected="true" editor-type-id="text-editor">
76
-            <state relative-caret-position="270">
77
-              <caret line="22" column="29" selection-start-line="22" selection-start-column="29" selection-end-line="22" selection-end-column="29" />
69
+            <state relative-caret-position="210">
70
+              <caret line="18" column="12" lean-forward="true" selection-start-line="18" selection-start-column="12" selection-end-line="18" selection-end-column="12" />
78 71
             </state>
79 72
           </provider>
80 73
         </entry>
@@ -337,12 +330,12 @@
337 330
       <workItem from="1532732570325" duration="2999000" />
338 331
       <workItem from="1533223998681" duration="8083000" />
339 332
       <workItem from="1533245929577" duration="1617000" />
340
-      <workItem from="1533318241838" duration="1748000" />
333
+      <workItem from="1533318241838" duration="1856000" />
341 334
     </task>
342 335
     <servers />
343 336
   </component>
344 337
   <component name="TimeTrackingManager">
345
-    <option name="totallyTimeSpent" value="14447000" />
338
+    <option name="totallyTimeSpent" value="14555000" />
346 339
   </component>
347 340
   <component name="ToolWindowManager">
348 341
     <frame x="0" y="0" width="1280" height="800" extended-state="0" />
@@ -680,8 +673,8 @@
680 673
     </entry>
681 674
     <entry file="file://$PROJECT_DIR$/src/main/java/com/example/demo/Entity/Game.java">
682 675
       <provider selected="true" editor-type-id="text-editor">
683
-        <state relative-caret-position="270">
684
-          <caret line="22" column="29" selection-start-line="22" selection-start-column="29" selection-end-line="22" selection-end-column="29" />
676
+        <state relative-caret-position="210">
677
+          <caret line="18" column="12" lean-forward="true" selection-start-line="18" selection-start-column="12" selection-end-line="18" selection-end-column="12" />
685 678
         </state>
686 679
       </provider>
687 680
     </entry>

+ 2
- 2
src/main/java/com/example/demo/Entity/Game.java Visa fil

@@ -18,7 +18,7 @@ public class Game {
18 18
   private String thumbnail;
19 19
   private ArrayList mechanics;
20 20
   private float averageRating;
21
-  private int minPlayers;
22
-  private int maxPlayers;
21
+  private String minPlayers;
22
+  private String maxPlayers;
23 23
   private String description;
24 24
 }