blob: 5944fe4892aebd90faf6bf3e3dfdfca1b91d763a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
using System;
namespace grapher.Models.Mouse
{
public class MouseData
{
#region Constructors
public MouseData()
{
X = 0;
Y = 0;
}
#endregion Constructors
#region Properties
private int X { get; set; }
private int Y { get; set; }
public void Set(int x, int y)
{
X = x;
Y = y;
}
#endregion Properties
#region Methods
public void Get(out int x, out int y)
{
x = X;
y = Y;
}
#endregion Methods
}
}
|