Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10376 in orxonox.OLD for trunk/src/story_entities/game_world.cc


Ignore:
Timestamp:
Jan 26, 2007, 12:17:26 AM (17 years ago)
Author:
patrick
Message:

merged branche ai to trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/story_entities/game_world.cc

    r10368 r10376  
    5555#include "ogg_player.h"
    5656#include "shader.h"
     57#include "ai_engine.h"
    5758
    5859#include "animation_player.h"
     
    337338    this->collisionReaction ();
    338339
     340    /* perform ai check*/
     341    this->checkAI();
     342
    339343    /* check the game rules */
    340344    this->checkGameRules();
     
    511515
    512516
     517
     518void GameWorld::checkAI()
     519{
     520  AIEngine::getInstance()->tick(this->dtS);
     521  //AIEngine::getInstance()->tick();
     522}
     523
     524
    513525/**
    514526 *  check the game rules: winning conditions, etc.
Note: See TracChangeset for help on using the changeset viewer.