bloboland

diff src/level.h @ 1:cfe68befb7cc

some progress
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 15 Dec 2012 23:43:03 +0200
parents
children 9021a906c5d3
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/level.h	Sat Dec 15 23:43:03 2012 +0200
     1.3 @@ -0,0 +1,21 @@
     1.4 +#ifndef LEVEL_H_
     1.5 +#define LEVEL_H_
     1.6 +
     1.7 +#include <vector>
     1.8 +#include "volume.h"
     1.9 +
    1.10 +class Level {
    1.11 +public:
    1.12 +	Volume *terrain;
    1.13 +	std::vector<Vector3> blobs;
    1.14 +
    1.15 +	Level();
    1.16 +	~Level();
    1.17 +
    1.18 +	void generate();
    1.19 +
    1.20 +	bool load(const char *fname);
    1.21 +	bool save(const char *fname) const;
    1.22 +};
    1.23 +
    1.24 +#endif	// LEVEL_H_