source: trunk/src/layer.h @ 818

Last change on this file since 818 was 748, checked in by sam, 10 years ago

core: fix include guard naming scheme.

  • Property svn:keywords set to Id
File size: 800 bytes
RevLine 
[100]1//
[221]2// Lol Engine
[100]3//
[221]4// Copyright: (c) 2010-2011 Sam Hocevar <sam@hocevar.net>
5//   This program is free software; you can redistribute it and/or
6//   modify it under the terms of the Do What The Fuck You Want To
7//   Public License, Version 2, as published by Sam Hocevar. See
8//   http://sam.zoy.org/projects/COPYING.WTFPL for more details.
9//
[38]10
[100]11//
12// The Layer class
13// ---------------
14// A Layer object is a subset of a Map.
15//
[38]16
[748]17#if !defined __LOL_LAYER_H__
18#define __LOL_LAYER_H__
[47]19
[74]20#include <stdint.h>
[38]21
[686]22namespace lol
23{
24
[38]25class Layer
26{
27public:
[133]28    Layer(int w, int h, int z, int o, uint32_t *data);
[38]29    ~Layer();
30
[47]31    int GetZ();
[38]32
[289]33    void Render(int x, int y, int z);
[75]34
[47]35private:
[133]36    int width, height, altitude, orientation;
[74]37    uint32_t *data;
[38]38};
39
[686]40} /* namespace lol */
41
[748]42#endif // __LOL_LAYER_H__
[38]43
Note: See TracBrowser for help on using the repository browser.