mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-22 08:45:36 +00:00
restructure codebase according to vcproj filters
This commit is contained in:
15
Minecraft.World/ConsoleJavaLibs/Color.h
Normal file
15
Minecraft.World/ConsoleJavaLibs/Color.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
class Color {
|
||||
private:
|
||||
int colour;
|
||||
|
||||
public:
|
||||
// Creates an opaque sRGB color with the specified red, green, and blue
|
||||
// values in the range (0.0 - 1.0).
|
||||
Color(float r, float g, float b);
|
||||
Color(int r, int g, int b);
|
||||
|
||||
static Color getHSBColor(float h, float s, float b);
|
||||
int getRGB();
|
||||
};
|
||||
Reference in New Issue
Block a user