tower-defense-cpp/Canopy.cpp
bMorgan01 b49080f675 init
2022-03-08 10:18:34 -07:00

19 lines
No EOL
420 B
C++

//
// 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));
}