You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
595 B
33 lines
595 B
using System;
|
|
using System.ComponentModel;
|
|
|
|
namespace TheGameExtreme.model.card
|
|
{
|
|
public abstract class Card
|
|
{
|
|
private decimal value;
|
|
public decimal Value
|
|
{
|
|
get { return value; }
|
|
set
|
|
{
|
|
this.value = value;
|
|
}
|
|
}
|
|
|
|
public Card(decimal value)
|
|
{
|
|
Value = value;
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return Value.ToString();
|
|
}
|
|
|
|
public abstract String getName();
|
|
public abstract bool rapidEffect();
|
|
|
|
}
|
|
}
|