/minild29

To get this branch, use:
bzr branch http://9ix.org/bzr/minild29

« back to all changes in this revision

Viewing changes to Dark.h

  • Committer: Josh C
  • Date: 2011-09-18 16:12:57 UTC
  • Revision ID: josh@9ix.org-20110918161257-zshzdmi0e62idum1
some more stalk logic

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
    Vector2 velocity;
34
34
    Vector2 direction;
35
35
    float aiTime;
 
36
    float noiseTime;
36
37
    std::string state;
37
 
    float maxspeed;
38
38
 
39
39
    SpriteAnimation *sprite;
40
40
    AudioDeck *skitter1;
41
41
    AudioAsset *alert;
42
 
    AudioDeck *sniff;
 
42
    AudioAsset *stalk;
43
43
 
44
44
    int const FRICTION;
 
45
    float const MAXSPEED;
45
46
    int const ACCELERATION;
46
 
    float const DEFAULT_MAXSPEED;
47
47
    float const STALKSPEED;
48
 
    //float const HUNTSPEED;
 
48
    float const HUNTSPEED;
49
49
  };
50
50
 
51
51
  class Ping : public Entity
66
66
    DarkScene();
67
67
    void Begin();
68
68
    void Update();
69
 
    void HideSpawners();
70
 
    void ShowSpawners();
71
 
    void Spawn();
72
69
 
73
70
    LevelEditor *levelEditor;
74
71