1
0
cuberite-2a/src/BlockEntities/RedstonePoweredEntity.h

14 lines
344 B
C
Raw Normal View History

#pragma once
// Interface class representing a blockEntity that responds to redstone
class cRedstonePoweredEntity
{
public:
2014-09-22 22:23:56 +00:00
virtual ~cRedstonePoweredEntity() {}
2014-08-06 12:19:22 +00:00
/// 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;
};