18 lines
305 B
C++
18 lines
305 B
C++
|
|
#pragma once
|
||
|
|
|
||
|
|
#include <stdint.h>
|
||
|
|
|
||
|
|
#include "../datatypes.cpp"
|
||
|
|
#include "../helpers.cpp"
|
||
|
|
#include "mapperbase.cpp"
|
||
|
|
|
||
|
|
namespace UwU {
|
||
|
|
class NullMapper : public MapperBase<NullMapper> {
|
||
|
|
public:
|
||
|
|
NullMapper() {}
|
||
|
|
|
||
|
|
Coord2 map(uint16_t x, uint16_t y) {
|
||
|
|
return Coord2(x, y);
|
||
|
|
}
|
||
|
|
};
|
||
|
|
}
|