Skip to content
This repository was archived by the owner on Nov 5, 2019. It is now read-only.

Make visualization of gates configurable#3

Open
TheComputerGeek2 wants to merge 1 commit intoMassiveCraft:masterfrom
TheComputerGeek2:gatevis
Open

Make visualization of gates configurable#3
TheComputerGeek2 wants to merge 1 commit intoMassiveCraft:masterfrom
TheComputerGeek2:gatevis

Conversation

@TheComputerGeek2
Copy link
Copy Markdown
Member

No description provided.

public Material visFrame = Material.JACK_O_LANTERN;
public Material visContent = Material.GLOWSTONE;
public Material visPower = Material.STATIONARY_LAVA;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May I suggest more expressive names such as "visualizationBlockFrame", "visualizationBlockContent", "visualizationBlockPower"?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good to me

{
Set<Block> frame = FloodUtil.getFrameFor(content, orientation);
gate.addFrameBlocks(frame);
VisualizeUtil.addBlocks(me, frame, Const.visFrame);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You ought to be able to delete these variables from Const.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants