This commit is contained in:
bMorgan01 2022-03-08 10:18:34 -07:00
parent 54f5313273
commit b49080f675
83 changed files with 2083 additions and 0 deletions

19
Canopy.cpp Normal file
View 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));
}