//implements abstract rectangle interface: GeometryFriends agents manager gets the current action intended to be actuated in the enviroment for this agent
 public override Moves GetAction()
 {
     if (gameMode == 0)
     {
         return(singlePlayer.GetAction());
     }
     else
     {
         return(multiPlayer.GetAction());
     }
 }
        public override Moves getActionRectangle()
        {
            Moves action = rectangleSingleplayer.GetAction();

            return(action);
        }