Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 16, 2019, 3:10:44 PM (5 years ago)
Author:
rueegseb
Message:

laser appears after five pointsphere are eaten

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/3DPacman_FS19/src/modules/pacman/PacmanLaser.cpp

    r12365 r12380  
    1616    PacmanLaser::PacmanLaser(Context* context) : ControllableEntity(context)
    1717    {
    18         RegisterObject(PacmanPointSphere);
     18        RegisterObject(PacmanLaser);
    1919        this->setCollisionType(CollisionType::None);
    2020    }
     
    3333        Method for creating a AutonomousDrone through XML.
    3434    */
    35     void PacmanPointSphere::XMLPort(Element& xmlelement, XMLPort::Mode mode)
     35    void PacmanLaser::XMLPort(Element& xmlelement, XMLPort::Mode mode)
    3636    {
    37         SUPER(PacmanPointSphere, XMLPort, xmlelement, mode);
     37        SUPER(PacmanLaser, XMLPort, xmlelement, mode);
    3838    }
    3939
     
    4141    void PacmanLaser::tick(float dt)
    4242    {
    43         SUPER(PacmanPointSphere, tick, dt);
     43        SUPER(PacmanLaser, tick, dt);
    4444    }
    4545
Note: See TracChangeset for help on using the changeset viewer.