Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update Card.java
  • Loading branch information
jjv14001 committed Mar 3, 2017
1 parent 2139984 commit d02d2a0
Showing 1 changed file with 17 additions and 21 deletions.
38 changes: 17 additions & 21 deletions src/model/Card.java
Expand Up @@ -37,7 +37,7 @@ public class Card



public Card(String title, String type, Boolean effect, int value){
public Card (String title, String type, Boolean effect, int value, int value2, int value3, int value4){

_title = title;

Expand All @@ -46,7 +46,13 @@ public class Card
_effect = effect;

_value = value;


_value1 = value2;

_value2 = value3;

_value3 = value4;

}
public String getTitle()

Expand All @@ -62,27 +68,17 @@ public class Card
public int getValue(){
return _value;
}
public int getValue2(){
return _value2;
}
public int getValue3(){
return _value3;
}
public int getValue4(){
return _value4;
}

public Card (String title, String type, Boolean effect, int value, int value2, int value3, int value4){

_title = title;

_type = type;

_effect = effect;

_value = value;

_value1 = value;

_value2 = value;

_value3 = value;

_value4 = value;


}


}

0 comments on commit d02d2a0

Please sign in to comment.