// Update is called once per frame
    void Update()
    {
        if (moveDuration == 0)
        {
            generateNewMove();
            rotableComponent.applyTranformation(moveIndex);
        }

        movableComponent.applyTranformation(Transformable.MethodIndex.Up);
        moveDuration--;
    }
 // Update is called once per frame
 void Update()
 {
     for (int i = 0; i < keys.Length; i++)
     {
         if (Input.GetKey(keys[i]))
         {
             rotableComponent.applyTranformation(i);
             movableComponent.applyTranformation(Transformable.MethodIndex.Up);
             return;
         }
     }
 }