Danmaku_no_Kyojin.BulletEngine.MoverManager.PlayerPosition C# (CSharp) Method

PlayerPosition() public method

a mathod to get current position of the player This is used to target bullets at that position
public PlayerPosition ( Bullet targettedBullet ) : Vector2
targettedBullet Bullet the bullet we are getting a target for
return Microsoft.Xna.Framework.Vector2
        public Vector2 PlayerPosition(Bullet targettedBullet)
        {
            //just give the player's position
            Debug.Assert(null != GetPlayerPosition);
            return GetPlayerPosition();
        }