/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-17 16:54:23 UTC
  • Revision ID: josh@9ix.org-20110917165423-wflahgpej1hbjowe
harder to see creatures

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
    void Update();
14
14
 
15
15
    Vector2 velocity;
16
 
    float noisiness;
17
16
 
18
17
    SpriteAnimation *sprite;
19
 
    Entity *dark;
20
18
    AudioDeck *footsteps;
21
19
 
22
20
    int const FRICTION;
33
31
    Vector2 velocity;
34
32
    Vector2 direction;
35
33
    float aiTime;
36
 
    float noiseTime;
37
34
    std::string state;
38
 
    float maxspeed;
39
35
 
40
36
    SpriteAnimation *sprite;
41
37
    AudioDeck *skitter1;
42
 
    AudioAsset *alert;
43
 
    AudioDeck *sniff;
44
38
 
45
39
    int const FRICTION;
46
 
    int const ACCELERATION;
47
 
    float const DEFAULT_MAXSPEED;
48
 
    float const STALKSPEED;
49
 
    //float const HUNTSPEED;
50
 
  };
51
 
 
52
 
  class Ping : public Entity
53
 
  {
54
 
  public:
55
 
    Ping();
56
 
    void Update();
57
 
    static Ping *NewPing(Vector2 pos, float d1, float d2, float t2);
58
 
 
59
 
    float d1, d2, t, t2;
60
 
 
61
 
    Sprite *sprite;
 
40
    float const MAXSPEED;
 
41
    int const ACCELERATION;     
62
42
  };
63
43
 
64
44
  class DarkScene : public Scene
67
47
    DarkScene();
68
48
    void Begin();
69
49
    void Update();
70
 
    void HideSpawners();
71
 
    void ShowSpawners();
72
 
    void Spawn();
73
50
 
74
51
    LevelEditor *levelEditor;
75
 
    
76
 
    Player *player;
77
52
  };
78
53
 
79
54
  class Text: public Entity