mirror of
https://github.com/celisej567/mcpe.git
synced 2026-01-04 14:09:47 +03:00
26 lines
362 B
C++
26 lines
362 B
C++
#pragma once
|
|
|
|
#include <stdint.h>
|
|
|
|
#include "client/renderer/Texture.hpp"
|
|
|
|
class FoliageColor
|
|
{
|
|
public:
|
|
static bool isAvailable();
|
|
|
|
static void init(Texture texture);
|
|
|
|
static uint32_t get(double x, double y);
|
|
|
|
static uint32_t getEvergreenColor();
|
|
|
|
static uint32_t getBirchColor();
|
|
|
|
static uint32_t getDefaultColor();
|
|
|
|
private:
|
|
static Texture texture;
|
|
};
|
|
|