Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
2102-Group-Project-Spring-2017/src/model/MarketCard.java
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
43 lines (35 sloc)
644 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package model; | |
public class MarketCard extends Card | |
{ | |
private String _description; | |
private String _type; | |
private int _value; | |
private String _addit; | |
public MarketCard(String title, String description, String type, int value, String addit) | |
{ | |
super(title); | |
_description = description; | |
_type = type; | |
_value = value; | |
_addit = addit; //additional info | |
} | |
public String getDescription() | |
{ | |
return _description; | |
} | |
public String getType() | |
{ | |
return _type; | |
} | |
public int getValue() | |
{ | |
return _value; | |
} | |
public String getAddit() | |
{ | |
return _addit; | |
} | |
public void display(){ | |
//display cards in a pretty gui | |
} | |
} |