45 lines
866 B
C#
45 lines
866 B
C#
using OpenTK.Graphics.ES20;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace StgSharp.Logic
|
|
{
|
|
public class LinkedObject
|
|
{
|
|
protected LinkedObject _previous;
|
|
|
|
public LinkedObject Previous
|
|
{
|
|
get { return _previous; }
|
|
set
|
|
{
|
|
_previous = value;
|
|
|
|
}
|
|
}
|
|
|
|
protected LinkedObject _next;
|
|
|
|
public LinkedObject Next
|
|
{
|
|
get { return _next; }
|
|
set
|
|
{
|
|
_next = value;
|
|
}
|
|
}
|
|
|
|
public static LinkedObject operator ++(LinkedObject a)
|
|
{
|
|
return a._next;
|
|
}
|
|
public static LinkedObject operator --(LinkedObject a)
|
|
{
|
|
return a._previous;
|
|
}
|
|
}
|
|
}
|