Cherry
This commit is contained in:
parent
ebc3d155de
commit
c67ddcc6d2
8 changed files with 71 additions and 14 deletions
|
|
@ -9,3 +9,11 @@ Scorepoint::Scorepoint(){
|
|||
void Scorepoint::draw() const {
|
||||
DrawTextureRec(this->texture.get_texture(), this->texture.full_view(), this->position, WHITE);
|
||||
}
|
||||
|
||||
Cherry::Cherry(){
|
||||
texture = {get_world().get_atlas(),112,16,16,16};
|
||||
}
|
||||
|
||||
void Cherry::draw() const {
|
||||
DrawTextureRec(texture.get_texture(),texture.full_view(),position,WHITE);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue