Mercurial > projects > myrrdin
comparison test/view/viewconsumer.d @ 8:156a95e4c018
final package structure now, i hope
author | fred@reichbier.de |
---|---|
date | Sat, 19 Jul 2008 17:26:41 +0200 |
parents | 806b3781f4e4 |
children | 79b534bbda65 |
comparison
equal
deleted
inserted
replaced
7:806b3781f4e4 | 8:156a95e4c018 |
---|---|
25 | 25 |
26 import dsfml.window.all; | 26 import dsfml.window.all; |
27 import dsfml.system.all; | 27 import dsfml.system.all; |
28 import dsfml.graphics.all; | 28 import dsfml.graphics.all; |
29 | 29 |
30 import myrrdin.tileconsumer; | 30 import myrrdin.consumers.tile; |
31 import myrrdin.renderer; | 31 import myrrdin.renderer; |
32 import myrrdin.consumer; | |
33 import myrrdin.imagecache; | 32 import myrrdin.imagecache; |
34 import myrrdin.tilemap; | 33 import myrrdin.tilemap; |
35 import myrrdin.tileset; | 34 import myrrdin.tileset; |
36 import myrrdin.xmlmap; | 35 import myrrdin.xmlmap; |
37 import myrrdin.tools; | 36 import myrrdin.tools; |
38 import myrrdin.viewconsumer; | 37 import myrrdin.consumers.view; |
39 import myrrdin.animatedsprite; | 38 import myrrdin.animatedsprite; |
40 import myrrdin.spriteconsumer; | |
41 import myrrdin.movingfigure; | |
42 | 39 |
43 int main(char[][] args) { | 40 int main(char[][] args) { |
44 Cache cache = new Cache("gfx"); | 41 Cache cache = new Cache("gfx"); |
45 Tilemap map = parse_map(cache, read_file_contents("map-example.xml")); | 42 Tilemap map = parse_map(cache, read_file_contents("map-example.xml")); |
46 Renderer render = new Renderer("Blubb", 600, 480, 32); | 43 Renderer render = new Renderer("Blubb", 600, 480, 32); |