init
This commit is contained in:
parent
54f5313273
commit
b49080f675
83 changed files with 2083 additions and 0 deletions
19
Canopy.cpp
Normal file
19
Canopy.cpp
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
//
|
||||
// Created by Benjamin on 1/30/2022.
|
||||
//
|
||||
|
||||
#include "Canopy.h"
|
||||
|
||||
Canopy::Canopy(const sf::Texture &texture, float x, float y, float angle, float scale, int origin) : Sprite(texture, x, y, angle, scale, origin) {}
|
||||
|
||||
void Canopy::hover() {
|
||||
Sprite::hover();
|
||||
|
||||
setColor(sf::Color(255, 255, 255, 128));
|
||||
}
|
||||
|
||||
void Canopy::unHover() {
|
||||
Sprite::unHover();
|
||||
|
||||
setColor(sf::Color(255, 255, 255, 255));
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue