Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 19, 2015, 4:00:00 PM (9 years ago)
Author:
vaydin
Message:

created new explosion class

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/explosionChunksHS15/src/orxonox/worldentities/pawns/Pawn.cc

    r10624 r10669  
    4242#include "worldentities/ExplosionChunk.h"
    4343#include "worldentities/BigExplosion.h"
     44//#include "worldentities/VaydinExplosion.h"
    4445#include "weaponsystem/WeaponSystem.h"
    4546#include "weaponsystem/WeaponSlot.h"
     
    142143        XMLPortObject(Pawn, WeaponSet, "weaponsets", addWeaponSet, getWeaponSet, xmlelement, mode);
    143144        XMLPortObject(Pawn, WeaponPack, "weapons", addWeaponPackXML, getWeaponPack, xmlelement, mode);
     145
     146        //XMLPortObject(Pawn, VaydinExplosion, "vaydinexplosion", addVaydinExplosion, getVaydinExplosion, xmlelement, mode);
    144147
    145148        XMLPortParam(Pawn, "reloadrate", setReloadRate, getReloadRate, xmlelement, mode).defaultValues(0);
     
    165168    void Pawn::tick(float dt)
    166169    {
     170        //BigExplosion* chunk = new BigExplosion(this->getContext());
    167171        SUPER(Pawn, tick, dt);
    168172
     
    375379    void Pawn::goWithStyle()
    376380    {
     381        orxout() << "gowithstyle" << endl;
     382
     383
    377384        this->bAlive_ = false;
    378385        this->setDestroyWhenPlayerLeft(false);
     
    387394    void Pawn::deatheffect()
    388395    {
     396        orxout() << "deatheffect" << endl;
    389397        // play death effect
    390398        /*{
Note: See TracChangeset for help on using the changeset viewer.