mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-13 15:37:13 +00:00
24 lines
478 B
C++
24 lines
478 B
C++
#pragma once
|
|
// 4J Added so that we can override the icon id used to calculate the texture
|
|
// UV's for each player
|
|
|
|
#include <string>
|
|
|
|
#include "platform/PlatformTypes.h"
|
|
#include "Item.h"
|
|
|
|
class Icon;
|
|
|
|
class CompassItem : public Item {
|
|
private:
|
|
Icon** icons;
|
|
static const std::string TEXTURE_PLAYER_ICON[XUSER_MAX_COUNT];
|
|
|
|
public:
|
|
CompassItem(int id);
|
|
|
|
virtual Icon* getIcon(int auxValue);
|
|
|
|
//@Override
|
|
void registerIcons(IconRegister* iconRegister);
|
|
}; |