Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 7, 2015, 2:32:47 PM (9 years ago)
Author:
meierman
Message:

Finished with comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/hoverHS15/src/modules/hover/HoverFlag.cc

    r10928 r10930  
    2121 *
    2222 *   Author:
    23  *      Fabien Vultier
     23 *      Manuel Meier
    2424 *   Co-authors:
    2525 *      ...
     
    2929/**
    3030    @file HoverFlag.cc
    31     @brief All platforms in this minigame inherit from this class. The basic functions of a platform (interact with figure) is implemented here. Special functions are implemented in the specialized classes.
     31    @brief The Flags that are being set in the Hover Minigame They support two coordinates from 0-9 each
    3232*/
    3333
     
    5656    }
    5757
     58    /**
     59    @brief
     60        Constructor that expects two coordinate-values in the range 0-9
     61    @param xCoordinate
     62        X-Coordinate of the flage, 0-9, origin is bottom left
     63    @param yCoordinate
     64        Y-Coordinate of the flage, 0-9, origin is bottom left
     65    */
    5866    HoverFlag::HoverFlag(Context* context, int xCoordinate, int yCoordinate) : StaticEntity(context)
    5967    {
     
    92100    }
    93101
    94     //xml port for loading height and width of the platform
     102    //xml port unused
    95103    void HoverFlag::XMLPort(Element& xmlelement, XMLPort::Mode mode)
    96104    {
     
    104112    @brief
    105113        Is called every tick.
    106         Handles the movement of the ball and its interaction with the boundaries and bats.
    107114    @param dt
    108115        The time since the last tick.
     
    114121    }
    115122
     123    /**
     124    @brief
     125        Checks if the Hovership collided with the flag
     126    */
    116127    bool HoverFlag::collidesAgainst(WorldEntity* otherObject, const btCollisionShape* ownCollisionShape, btManifoldPoint& contactPoint)
    117128    {
Note: See TracChangeset for help on using the changeset viewer.