refactor: purp
This commit is contained in:
parent
b2ab8858dc
commit
47fc6694b5
|
@ -26,8 +26,8 @@ export default (Room) => class extends Room.Renderable {
|
||||||
if (amount > 0) {
|
if (amount > 0) {
|
||||||
primitives.drawRectangle(
|
primitives.drawRectangle(
|
||||||
[x, y, tw, th],
|
[x, y, tw, th],
|
||||||
Primitives.lineStyle(new Color(0, 0, 0, amount / 256), 0),
|
Primitives.lineStyle(new Color(4, 0, 4, amount / 190), 0),
|
||||||
Primitives.fillStyle(new Color(0, 0, 0, amount / 256)),
|
Primitives.fillStyle(new Color(4, 0, 4, amount / 190)),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
else if (amount < 0) {
|
else if (amount < 0) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user