Skip to content

Commit 2f71ef9

Browse files
chore: create dimmable artifact interface
1 parent 78e303c commit 2f71ef9

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)