/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 03:32:26 UTC
  • Revision ID: josh@9ix.org-20110917033226-h7qh4w1plypy7wk0
square moving around the screen

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"
4
5
 
5
6
using namespace Monocle;
6
7
 
13
14
    void Update();
14
15
 
15
16
    Vector2 velocity;
16
 
    float noisiness;
17
17
 
18
18
    SpriteAnimation *sprite;
19
 
    Entity *dark;
20
 
    AudioDeck *footsteps;
21
19
 
22
20
    int const FRICTION;
23
21
    float const MAXSPEED;
24
22
    int const ACCELERATION;    
25
23
  };
26
24
 
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
 
 
47
25
  class DarkScene : public Scene
48
26
  {
49
27
  public:
52
30
    void Update();
53
31
 
54
32
    LevelEditor *levelEditor;
55
 
    
56
 
    Player *player;
57
33
  };
58
34
 
59
35
  class Text: public Entity