A WIP Roguelike game by Adekto, VonBednat, Trelemar and Wuuff made for CGAJam in spring 2017
Dependencies: PokittoLib
Fork of Arcade by
classes.cpp@15:67fb7b0c1149, 2018-05-21 (annotated)
- Committer:
- Pokitto
- Date:
- Mon May 21 18:04:18 2018 +0000
- Revision:
- 15:67fb7b0c1149
- Parent:
- 10:590a26231903
Compilation working now. Get music from: https://talk.pokitto.com/t/game-columns-coffins-roguelike-updated/482
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Pokitto | 10:590a26231903 | 1 | //#include "sprites.h" |
Pokitto | 10:590a26231903 | 2 | class Ent { |
Pokitto | 10:590a26231903 | 3 | public: |
Pokitto | 10:590a26231903 | 4 | int x,y; |
Pokitto | 10:590a26231903 | 5 | int id; |
Pokitto | 10:590a26231903 | 6 | Ent(int xx,int yy) {x=xx; y=yy;}; |
Pokitto | 10:590a26231903 | 7 | void draw(); |
Pokitto | 10:590a26231903 | 8 | Ent() { |
Pokitto | 10:590a26231903 | 9 | id=11; |
Pokitto | 10:590a26231903 | 10 | } |
Pokitto | 10:590a26231903 | 11 | }; |
Pokitto | 10:590a26231903 | 12 | |
Pokitto | 10:590a26231903 | 13 | |
Pokitto | 10:590a26231903 | 14 | class Goblin : public Ent { |
Pokitto | 10:590a26231903 | 15 | public: |
Pokitto | 10:590a26231903 | 16 | |
Pokitto | 10:590a26231903 | 17 | int id; |
Pokitto | 10:590a26231903 | 18 | Goblin() { |
Pokitto | 10:590a26231903 | 19 | id=11; |
Pokitto | 10:590a26231903 | 20 | } |
Pokitto | 10:590a26231903 | 21 | |
Pokitto | 10:590a26231903 | 22 | }; |
Pokitto | 10:590a26231903 | 23 | |
Pokitto | 15:67fb7b0c1149 | 24 |