Show
Ignore:
Timestamp:
09/30/09 21:44:28 (3 years ago)
Author:
valroft
Message:

- Some work on bringing spell cast AI support to GenericAI.
- Removed unnecessary code.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/hearthstone-world/GenericAI.h

    r47 r48  
    3939        virtual bool NeedToReturnHome(); 
    4040        virtual bool MeetsAttackCriteria(Unit* u); 
    41         virtual bool IsInAttackRange(Unit* u); 
     41        virtual bool CanMeleeAttack(Unit* u); 
    4242        virtual uint32 GetAttackTime(); 
    4343 
     
    4747        virtual bool CanMoveToNextWaypoint(); 
    4848 
     49        AI_Spell* GetNextSpell(); 
     50 
    4951private: 
    5052        ThreatTable m_threat; 
     
    5254        uint32 m_lastUpdateTime; 
    5355        uint32 m_lastAttackTime; 
     56        AI_Spell* m_forceSpell; 
    5457}; 
    5558