mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-30 13:23:36 +00:00
18 lines
499 B
C++
18 lines
499 B
C++
#pragma once
|
|
|
|
#include "BasePressurePlateTile.h"
|
|
|
|
class WeightedPressurePlateTile : public BasePressurePlateTile {
|
|
private:
|
|
int maxWeight;
|
|
|
|
public:
|
|
WeightedPressurePlateTile(int id, const std::wstring& tex,
|
|
Material* material, int maxWeight);
|
|
|
|
protected:
|
|
virtual int getSignalStrength(Level* level, int x, int y, int z);
|
|
virtual int getSignalForData(int data);
|
|
virtual int getDataForSignal(int signal);
|
|
virtual int getTickDelay(Level* level);
|
|
}; |