aboutsummaryrefslogtreecommitdiff
path: root/pd/Atom.cs
diff options
context:
space:
mode:
Diffstat (limited to 'pd/Atom.cs')
-rwxr-xr-xpd/Atom.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/pd/Atom.cs b/pd/Atom.cs
index 7e0affa..17c7183 100755
--- a/pd/Atom.cs
+++ b/pd/Atom.cs
@@ -18,6 +18,12 @@ namespace PureData
this.float_value = f;
this.string_value = "float";
}
+ public Atom(int i)
+ {
+ this.type = AtomType.Float;
+ this.float_value = (float) i;
+ this.string_value = "float";
+ }
public Atom(string s)
{
this.type = AtomType.Symbol;