Initial add (with Netbeans project and build script)
[shoot.git] / src / shoot_the_moon / CardPlayedEvent.java
blob4a7da74a8e61ada492885bcdcabf7d50286ec123
1 package shoot_the_moon;
4 public class CardPlayedEvent extends Event {
5 private Position position;
6 private Card card;
8 public CardPlayedEvent( Position position, Card card ) {
9 this.position = position;
10 this.card = card;
13 /**
14 * @return the card
16 public Card getCard() {
17 return card;
20 /**
21 * @return the position
23 public String toString() {
24 return "Card dealt to " + p.toString();
27 public Position getPosition() {
28 return position;