Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 9, 2015, 1:31:11 PM (9 years ago)
Author:
landauf
Message:

removed unnecessary code - setGametype or changedGametype is never called here

Location:
code/branches/core7/src/modules/tetris
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core7/src/modules/tetris/TetrisCenterpoint.cc

    r10571 r10572  
    8080    /**
    8181    @brief
    82         Is called when the gametype has changed.
    83     */
    84     void TetrisCenterpoint::changedGametype()
    85     {
    86         SUPER(TetrisCenterpoint, changedGametype);
    87 
    88         // Check, whether it's still Tetris.
    89         this->checkGametype();
    90     }
    91 
    92     /**
    93     @brief
    9482        Checks whether the gametype is Tetris and if it is, sets its centerpoint.
    9583    */
  • code/branches/core7/src/modules/tetris/TetrisCenterpoint.h

    r9667 r10572  
    6464            virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); //!< Method to create a TetrisCenterpoint through XML.
    6565
    66             virtual void changedGametype(); //!< Is called when the gametype has changed.
    67            
    6866            /**
    6967            @brief Set the width of the playing field.
Note: See TracChangeset for help on using the changeset viewer.