A Smoll game engine
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.

54 rivejä
988 B

namespace Smoll.Ex4.Commands {
interface IScriptable {
}
class Number : IScriptable {
public double value;
public Number(double value) {
this.value = value;
}
public override string ToString()
{
return value.ToString();
}
}
class Complex : IScriptable {
public Complex value;
public override string ToString()
{
return value.ToString();
}
}
class Atom : IScriptable {
public string value;
public Atom(string value) {
this.value = value;
}
public override string ToString()
{
return "[[" + value.ToString() + "]]";
}
}
class String : IScriptable {
public string value;
public String(string value) {
this.value = value;
}
public override string ToString()
{
return value;
}
}
}