/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 20:10:52 UTC
  • Revision ID: josh@9ix.org-20110917201052-ehpgcrfxfey2q81y
drastically less hacky way to hide the darkness

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
18
    Entity *dark;
37
36
 
38
37
    SpriteAnimation *sprite;
39
38
    AudioDeck *skitter1;
40
 
    AudioAsset *alert;
41
39
 
42
40
    int const FRICTION;
43
41
    float const MAXSPEED;
44
42
    int const ACCELERATION;     
45
43
  };
46
44
 
47
 
  class Ping : public Entity
48
 
  {
49
 
  public:
50
 
    Ping();
51
 
    void Update();
52
 
    static Ping *NewPing(Vector2 pos, float d1, float d2, float t2);
53
 
 
54
 
    float d1, d2, t, t2;
55
 
 
56
 
    Sprite *sprite;
57
 
  };
58
 
 
59
45
  class DarkScene : public Scene
60
46
  {
61
47
  public: