Scorepoints
This commit is contained in:
parent
bd9abbe5bd
commit
ed0c9eb221
4 changed files with 26 additions and 0 deletions
11
src/scorepoint.cpp
Normal file
11
src/scorepoint.cpp
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#include "components.h"
|
||||
#include "world.h"
|
||||
#include <raylib.h>
|
||||
|
||||
Scorepoint::Scorepoint(){
|
||||
this->texture = TextureAtlas(get_world().get_atlas(),112,0,16,16);
|
||||
}
|
||||
|
||||
void Scorepoint::draw() const {
|
||||
DrawTextureRec(this->texture.get_texture(), this->texture.full_view(), this->position, WHITE);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue