equal
deleted
inserted
replaced
1 package ru.alphatech.icfpc.game; |
1 package ru.alphatech.icfpc.game; |
2 |
2 |
|
3 import ru.alphatech.icfpc.cards.I; |
3 import ru.alphatech.icfpc.cards.ICard; |
4 import ru.alphatech.icfpc.cards.ICard; |
4 |
5 |
5 |
6 |
6 public class Player |
7 public class Player |
7 { |
8 { |
|
9 private Slot[] slots = new Slot[256]; |
|
10 |
|
11 public Player() |
|
12 { |
|
13 for(int i = 0; i < 255; i++) |
|
14 { |
|
15 slots[i].setVitality(10000); |
|
16 slots[i].putValue(new I()); |
|
17 } |
|
18 } |
|
19 |
8 public Slot getSlot(int i) |
20 public Slot getSlot(int i) |
9 { |
21 { |
10 throw new RuntimeException("Not impilemented yet."); |
22 return slots[i]; |
11 } |
23 } |
12 |
24 |
13 public void applyCardToSlot(ICard card, Slot slot){ |
25 public void applyCardToSlot(ICard card, Slot slot){ |
14 throw new RuntimeException("Not impilemented yet."); |
26 throw new RuntimeException("Not impilemented yet."); |
15 } |
27 } |