コード例 #1
0
        public override Vector2 getDirection()
        {
            Vector2 v = (PlayerBall.getInstance().getPosition() - ball.getPosition());

            Console.WriteLine(v);

            return(v / v.Length());
        }