This website works better with JavaScript.
Home
Help
Sign In
lolengine
/
lol
mirror of
https://github.com/lolengine/lol
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
base: prevent instantiation of several static-only classes.
legacy
Sam Hocevar
sam
11 years ago
parent
876b4ec8e5
commit
b9d6454c30
6 changed files
with
18 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
src/audio.h
+3
-0
src/forge.h
+3
-0
src/platform.h
+3
-0
src/profiler.h
+3
-0
src/ticker.h
+3
-0
src/tiler.h
+ 3
- 0
src/audio.h
View File
@@ -26,6 +26,9 @@ class Audio
{
public:
static void Setup(int channels);
private:
Audio() {}
};
} /* namespace lol */
+ 3
- 0
src/forge.h
View File
@@ -28,6 +28,9 @@ public:
static int Register(char const *path);
static void Deregister(int id);
static Font *GetFont(int id);
private:
Forge() {}
};
} /* namespace lol */
+ 3
- 0
src/platform.h
View File
@@ -26,6 +26,9 @@ class Platform
{
public:
static int GetMouseCount();
private:
Platform() {}
};
} /* namespace lol */
+ 3
- 0
src/profiler.h
View File
@@ -48,6 +48,9 @@ public:
static void Stop(int id);
static float GetAvg(int id);
static float GetMax(int id);
private:
Profiler() {}
};
} /* namespace lol */
+ 3
- 0
src/ticker.h
View File
@@ -45,6 +45,9 @@ public:
static void Shutdown();
static int Finished();
private:
Ticker() {}
};
} /* namespace lol */
+ 3
- 0
src/tiler.h
View File
@@ -29,6 +29,9 @@ class Tiler
public:
static TileSet *Register(char const *path, ivec2 size, ivec2 count);
static void Deregister(TileSet *);
private:
Tiler() {}
};
} /* namespace lol */
Write
Preview
Loading…
Cancel
Save