summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/RedstonePoweredEntity.h
blob: aebba771f75399791ab2b9f3247a91fd284e1f82 (plain) (blame)
1
2
3
4
5
6
7
8
9


// Interface class representing a blockEntity that responds to redstone
class cRedstonePoweredEntity
{
public:
/// Sets the internal redstone power flag to "on" or "off", depending on the parameter. Calls Activate() if appropriate
	virtual void SetRedstonePower(bool a_IsPowered) = 0;
};