/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
35
 
39
36
    SpriteAnimation *sprite;
40
37
    AudioDeck *skitter1;
41
 
    AudioAsset *alert;
42
 
    AudioAsset *stalk;
43
38
 
44
39
    int const FRICTION;
45
40
    float const MAXSPEED;
46
 
    int const ACCELERATION;
47
 
    float const STALKSPEED;
48
 
    float const HUNTSPEED;
49
 
  };
50
 
 
51
 
  class Ping : public Entity
52
 
  {
53
 
  public:
54
 
    Ping();
55
 
    void Update();
56
 
    static Ping *NewPing(Vector2 pos, float d1, float d2, float t2);
57
 
 
58
 
    float d1, d2, t, t2;
59
 
 
60
 
    Sprite *sprite;
 
41
    int const ACCELERATION;     
61
42
  };
62
43
 
63
44
  class DarkScene : public Scene
68
49
    void Update();
69
50
 
70
51
    LevelEditor *levelEditor;
71
 
    
72
 
    Player *player;
73
52
  };
74
53
 
75
54
  class Text: public Entity