/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 03:38:46 UTC
  • Revision ID: josh@9ix.org-20110918033846-f2unltomwd0ula81
alert noise

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#include "Monocle.h"
2
2
#include "Graphics/SpriteAnimation.h"
3
3
#include "LevelEditor/LevelEditor.h"
4
 
#include "Graphics/Tilemap.h"
5
4
 
6
5
using namespace Monocle;
7
6
 
14
13
    void Update();
15
14
 
16
15
    Vector2 velocity;
 
16
    float noisiness;
17
17
 
18
18
    SpriteAnimation *sprite;
 
19
    Entity *dark;
 
20
    AudioDeck *footsteps;
19
21
 
20
22
    int const FRICTION;
21
23
    float const MAXSPEED;
22
24
    int const ACCELERATION;    
23
25
  };
24
26
 
 
27
  class Creature : public Entity
 
28
  {
 
29
  public:
 
30
    Creature();
 
31
    void Update();
 
32
 
 
33
    Vector2 velocity;
 
34
    Vector2 direction;
 
35
    float aiTime;
 
36
    std::string state;
 
37
 
 
38
    SpriteAnimation *sprite;
 
39
    AudioDeck *skitter1;
 
40
    AudioAsset *alert;
 
41
 
 
42
    int const FRICTION;
 
43
    float const MAXSPEED;
 
44
    int const ACCELERATION;     
 
45
  };
 
46
 
25
47
  class DarkScene : public Scene
26
48
  {
27
49
  public:
30
52
    void Update();
31
53
 
32
54
    LevelEditor *levelEditor;
 
55
    
 
56
    Player *player;
33
57
  };
34
58
 
35
59
  class Text: public Entity