mirror of
https://github.com/LorisYounger/VPet.ModMaker.git
synced 2024-08-30 18:22:21 +00:00
32 lines
658 B
C#
32 lines
658 B
C#
//using HKW.HKWUtils.Observable;
|
|
|
|
//namespace VPet.ModMaker.Models;
|
|
|
|
//public class ObservablePoint<T>
|
|
//{
|
|
// public ObservableValue<T> X { get; } = new();
|
|
// public ObservableValue<T> Y { get; } = new();
|
|
|
|
// public ObservablePoint() { }
|
|
|
|
// public ObservablePoint(T x, T y)
|
|
// {
|
|
// X.Value = x;
|
|
// Y.Value = y;
|
|
// }
|
|
|
|
// public void SetValue(T x, T y)
|
|
// {
|
|
// X.Value = x;
|
|
// Y.Value = y;
|
|
// }
|
|
|
|
// public ObservablePoint<T> Copy()
|
|
// {
|
|
// var result = new ObservablePoint<T>();
|
|
// result.X.Value = X.Value;
|
|
// result.Y.Value = Y.Value;
|
|
// return result;
|
|
// }
|
|
//}
|