Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 11, 2006, 8:30:22 PM (17 years ago)
Author:
tfahrni
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ai/src/story_entities/game_world.cc

    r9869 r10040  
    5454#include "ogg_player.h"
    5555#include "shader.h"
     56#include "ai_engine.h"
    5657
    5758#include "animation_player.h"
     
    325326    /* collision reaction */
    326327    this->collisionReaction ();
     328
     329    /* perform ai check*/
     330    this->checkAI();
    327331
    328332    /* check the game rules */
     
    498502
    499503
     504
     505void GameWorld::checkAI()
     506{
     507  AIEngine::getInstance()->process();
     508}
     509
     510
    500511/**
    501512 *  check the game rules: winning conditions, etc.
Note: See TracChangeset for help on using the changeset viewer.