-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lums 2.3.0 - Better API, Cleaner tests & examples, singleton Core, go…
…od png support
- Loading branch information
Maxime
committed
Jan 17, 2015
1 parent
d96eed7
commit 7bced71
Showing
55 changed files
with
687 additions
and
1,133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/* ************************************************************************** */ | ||
/* */ | ||
/* */ | ||
/* Cube.hpp oooooo oooooo */ | ||
/* oooooooooo oooooooooo */ | ||
/* o%%%%%o */ | ||
/* %:::::% */ | ||
/* %:::::::% */ | ||
/* This file is part of the %:::::% */ | ||
/* Lums library. %%%%% */ | ||
/* */ | ||
/* ************************************************************************** */ | ||
|
||
#ifndef CUBE_HPP | ||
#define CUBE_HPP | ||
|
||
#include <Lums/Lums.hpp> | ||
|
||
class Cube : public lm::GameState | ||
{ | ||
public: | ||
Cube(); | ||
void load(); | ||
void update(); | ||
void handleEvent(const lm::Event& event); | ||
void render() const; | ||
void unload(); | ||
|
||
private: | ||
lm::Vector2a angle; | ||
lm::Vector2f speed; | ||
}; | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
file(GLOB SRC "*.cpp") | ||
add_executable(02_Nyan ${SRC}) | ||
configure_file(Nyan.png Nyan.png COPYONLY) | ||
target_link_libraries(02_Nyan Lums_shared) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.