/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 15:03:52 UTC
  • Revision ID: josh@9ix.org-20110917150352-j6nh9t61px2eitdu
skittering blue square

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
 
    AudioDeck *footsteps;
21
18
 
22
19
    int const FRICTION;
23
20
    float const MAXSPEED;
33
30
    Vector2 velocity;
34
31
    Vector2 direction;
35
32
    float aiTime;
36
 
    float noiseTime;
37
33
    std::string state;
38
34
 
39
35
    SpriteAnimation *sprite;
40
36
    AudioDeck *skitter1;
41
 
    AudioAsset *alert;
42
 
    AudioAsset *stalk;
43
37
 
44
38
    int const FRICTION;
45
39
    float const MAXSPEED;
46
 
    int const ACCELERATION;
47
 
    float const STALKSPEED;
48
 
  };
49
 
 
50
 
  class Ping : public Entity
51
 
  {
52
 
  public:
53
 
    Ping();
54
 
    void Update();
55
 
    static Ping *NewPing(Vector2 pos, float d1, float d2, float t2);
56
 
 
57
 
    float d1, d2, t, t2;
58
 
 
59
 
    Sprite *sprite;
 
40
    int const ACCELERATION;     
60
41
  };
61
42
 
62
43
  class DarkScene : public Scene
67
48
    void Update();
68
49
 
69
50
    LevelEditor *levelEditor;
70
 
    
71
 
    Player *player;
72
51
  };
73
52
 
74
53
  class Text: public Entity