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.
25 lines
441 B
25 lines
441 B
using System;
|
|
using System.ComponentModel;
|
|
|
|
namespace OrderStacks.model.card
|
|
{
|
|
public abstract class Card
|
|
{
|
|
public decimal Value { get; set; }
|
|
|
|
public Card(decimal value)
|
|
{
|
|
Value = value;
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return Value.ToString();
|
|
}
|
|
|
|
public abstract string getName();
|
|
public abstract bool rapidEffect();
|
|
|
|
}
|
|
}
|