Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 11, 2018, 3:44:49 PM (6 years ago)
Author:
landauf
Message:

[Asteroid_HS17] cleanup (mostly includes)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/Presentation_HS17_merge/src/modules/asteroids2D/Asteroids2DWeapon.cc

    r11669 r11727  
    3535
    3636#include "core/CoreIncludes.h"
    37 // #include "core/XMLPort.h"
    38 // #include "core/command/Executor.h"
    3937
    4038#include "graphics/Model.h"
     
    4240#include "weaponsystem/WeaponPack.h"
    4341#include "weaponsystem/WeaponSystem.h"
    44 #include "worldentities/WorldEntity.h"
    45 #include "worldentities/pawns/Pawn.h"
    4642
    4743#include "weapons/projectiles/Projectile.h"
    4844#include "weapons/MuzzleFlash.h"
    49 
    50 #include "Asteroids2D.h"
    5145
    5246namespace orxonox
     
    6559
    6660    }
    67 
    68     Asteroids2D* Asteroids2DWeapon::getGame()
    69     {
    70         if (game == nullptr)
    71         {
    72             for (Asteroids2D* race : ObjectList<Asteroids2D>())
    73             {
    74                 game = race;
    75             }
    76         }
    77         return game;
    78     }
    79 
    8061
    8162    void Asteroids2DWeapon::shot()
Note: See TracChangeset for help on using the changeset viewer.