Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 11, 2017, 3:18:27 PM (7 years ago)
Author:
jkindle
Message:

Added the animation for the level end (walk into castle), Coins for the blocks, Castleblocks and Flagblocks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/SuperOrxoBros_FS17/src/modules/superorxobros/SOBFlagstone.cc

    r11412 r11416  
    2121 *
    2222 *   Author:
    23  *      Fabien Vultier
     23 *      Julien
    2424 *   Co-authors:
    25  *      ...
     25 *     
    2626 *
    2727 */
     
    2929/**
    3030    @file SOBFlagstone.cc
    31     @brief All items in this minigame inherit from this class. Items can move around like platforms and enemies.
     31    @brief The flagstone, as described in the h file
    3232*/
    3333
     
    4444    RegisterClass(SOBFlagstone);
    4545
    46     SOBFlagstone::SOBFlagstone(Context* context) : MovableEntity(context)
     46    SOBFlagstone::SOBFlagstone(Context* context) : StaticEntity(context)
    4747    {
    4848        RegisterObject(SOBFlagstone);
     
    5050        setAngularFactor(0.0);
    5151        this->enableCollisionCallback();
    52        
     52        
    5353        hasCollided_=false;
    5454       
    55        
     55        
    5656    }
    5757
     
    6464
    6565
    66      }
     66    }
    6767
    68    
     68    
    6969    bool SOBFlagstone::collidesAgainst(WorldEntity* otherObject, const btCollisionShape* ownCollisionShape, btManifoldPoint& contactPoint) {
    7070
    71 
    72 
    73 orxout() << "Watshc bum baem" << otherObject->getMass()<< endl;
    74 return true;
     71        return true;
    7572    }
    7673
    7774
    78  
     75   
    7976
    8077
    81    
     78    
    8279}
Note: See TracChangeset for help on using the changeset viewer.