public void AimimgBullet(Mover mover, string shape, float speed) { Bullet b = GameSystem._Instance.CreateBullet <Bullet>(); b.Init(shape, mover._X, mover._Y, GetPlayerAngle(mover), 0.0f, speed, 0.0f); }
/// <summary> /// 지정한 무버로부터 플레이어로 향하는 각도 구하기 /// </summary> /// <param name="startMover"></param> /// <returns></returns> public float GetPlayerAngle(Mover startMover) { return(GetPlayerAngle(startMover._X, startMover._Y)); }
public void CircleBullet(Mover mover, string shape, float angle, float speed, int count, bool halfAngleOffset) { CircleBullet(mover._X, mover._Y, shape, angle, speed, 0.0f, count, halfAngleOffset); }