Components!

This commit is contained in:
Matt Thorson
2020-05-05 19:53:13 -07:00
parent 409a82d6b8
commit bde9a51f9e
8 changed files with 189 additions and 4 deletions

View File

@ -1,4 +1,5 @@
using System;
using System.Diagnostics;
namespace Strawberry
{
@ -9,5 +10,17 @@ namespace Strawberry
{
return value > target ? Math.Max(value - maxDelta, target) : Math.Min(value + maxDelta, target);
}
static public void Log()
{
Debug.WriteLine("***");
}
static public void Log<T>(T v)
{
String string = scope String;
v.ToString(string);
Debug.WriteLine(string);
}
}
}