Files
stgsharp/封存/.Net Framework/StgSharp/StgSharp_Entity/Launcher.cs
T

52 lines
722 B
C#

using OpenTK;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StgSharp_Entity
{
internal unsafe class Launcher
{
private Bullet _bullet;
public Bullet NewBullet
{
get { return _bullet; }
set { _bullet = value; }
}
private float* _xPositon;
public float* XPsition
{
get { return _xPositon; }
set { _xPositon = value; }
}
private float* _yPosition;
public float* YPosition
{
get { return _yPosition; }
set { _yPosition = value; }
}
public Launcher()
{
}
public void Bind(float* _xPointer,float* _yPointer)
{
_xPositon = _xPointer;
_yPosition = _yPointer;
}
}
}