forked from cafeberry/cafeberry
wip_feat(PS3): Implement SPU variants for a portion of TU19's blocks
crashes at a stack overflow, cant be assed to fix it atm
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
#include "BasePressurePlateTile_SPU.h"
|
||||
|
||||
class WeightedPressurePlateTile_SPU : public BasePressurePlateTile_SPU
|
||||
{
|
||||
public:
|
||||
enum Sensitivity
|
||||
{
|
||||
everything, mobs, players
|
||||
};
|
||||
|
||||
private:
|
||||
Sensitivity sensitivity;
|
||||
|
||||
public:
|
||||
WeightedPressurePlateTile_SPU(int id) : BasePressurePlateTile_SPU(id) {}
|
||||
|
||||
protected:
|
||||
virtual int getSignalForData(int data) {
|
||||
return data;
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user