public override void OnCreated(IVoxel handle) { handle.SetPart(new Ore() { ResourceCount = 1 }); base.OnCreated(handle); }
public override void OnDestroyed(IVoxel handle) { handle.SetPart <Ore>(null); base.OnDestroyed(handle); }
public override void OnCreated(IVoxel handle) { handle.SetPart(new Miner(handle)); base.OnCreated(handle); }