Beispiel #1
0
    private void HandleMovement()
    {
        if (Time.timeSinceLevelLoad >= nextTime)
        {
            lastSnakeDirection = snakeDirection;
            SnakeMovement.Move(mySnakePartArray, snakeDirection);



            //Debug.Log("MySnakeDirection:" + snakeDirection/2);



            nextTime += interval;
        }
    }