We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78e303c commit 2f71ef9Copy full SHA for 2f71ef9
src/env/artifact/environment/roomartifact/DimmableArtifact.java
@@ -0,0 +1,20 @@
1
+/*
2
+ * Copyright (c) 2023. Smart Operating Block
3
+ *
4
+ * Use of this source code is governed by an MIT-style
5
+ * license that can be found in the LICENSE file or at
6
+ * https://opensource.org/licenses/MIT.
7
+ */
8
+
9
+package artifact.environment.roomartifact;
10
11
+/**
12
+ * Interface that models a dimmable artifact, that is an artifacts that offers method to set the intensity of it.
13
14
+public interface DimmableArtifact {
15
+ /**
16
+ * Set the intensity of the artifact.
17
+ * @param intensityPercentage the intensity as a percentage.
18
19
+ void setIntensity(int intensityPercentage);
20
+}
0 commit comments