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.
36 lines
790 B
36 lines
790 B
using System;
|
|
using System.ComponentModel;
|
|
|
|
namespace TheGameExtreme.model.card
|
|
{
|
|
public abstract class Card // : INotifyPropertyChanged
|
|
{
|
|
|
|
//public event PropertyChangedEventHandler PropertyChanged;
|
|
private decimal value;
|
|
public decimal Value
|
|
{
|
|
get { return value; }
|
|
set
|
|
{
|
|
this.value = value;
|
|
//OnPropertyChange("Value");
|
|
}
|
|
}
|
|
//private void OnPropertyChange(string v)
|
|
//{
|
|
// PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(v));
|
|
//}
|
|
|
|
|
|
public Card(decimal value)
|
|
{
|
|
Value = value;
|
|
}
|
|
|
|
public abstract String getName();
|
|
public abstract bool rapidEffect();
|
|
|
|
}
|
|
}
|