Lodestone.Common
Loading...
Searching...
No Matches
ImmutableBitStorage.h
Go to the documentation of this file.
1//
2// Created by Zero on 11/25/25.
3//
4#ifndef LODESTONE_IMMUTABLEBITSTORAGE_H
5#define LODESTONE_IMMUTABLEBITSTORAGE_H
7
10 protected:
12
13 public:
15
16 int getIndex(unsigned int x, unsigned int y, unsigned int z) const override;
17 int getNibble(unsigned int x, unsigned int y, unsigned int z) const override;
18 void setNibble(unsigned int x, unsigned int y, unsigned int z, unsigned int value) override;
19 };
20} // namespace lodestone::level::types
21
22#endif // LODESTONE_IMMUTABLEBITSTORAGE_H
int getNibble(unsigned int x, unsigned int y, unsigned int z) const override
Definition ImmutableBitStorage.cpp:14
static ImmutableBitStorage * getInstance()
Definition ImmutableBitStorage.cpp:7
int getIndex(unsigned int x, unsigned int y, unsigned int z) const override
Definition ImmutableBitStorage.cpp:12
void setNibble(unsigned int x, unsigned int y, unsigned int z, unsigned int value) override
Definition ImmutableBitStorage.cpp:16
Definition AbstractBitStorage.cpp:6