36 lines
473 B
C#
36 lines
473 B
C#
using System;
|
|
|
|
[Serializable]
|
|
public class tile_class
|
|
{
|
|
public int x;
|
|
|
|
public int y;
|
|
|
|
private bool _0024initialized__tile_class_0024;
|
|
|
|
public tile_class()
|
|
{
|
|
if (!_0024initialized__tile_class_0024)
|
|
{
|
|
_0024initialized__tile_class_0024 = true;
|
|
}
|
|
}
|
|
|
|
public tile_class(int x1, int y2)
|
|
{
|
|
if (!_0024initialized__tile_class_0024)
|
|
{
|
|
_0024initialized__tile_class_0024 = true;
|
|
}
|
|
x = x1;
|
|
y = y2;
|
|
}
|
|
|
|
public virtual void reset()
|
|
{
|
|
x = 0;
|
|
y = 0;
|
|
}
|
|
}
|