Skip to content

Commit b9e0a62

Browse files
committed
fix(toggle): better module description
1 parent a9daf1d commit b9e0a62

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

engine/modules/toggle/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<groupId>com.codingame.gameengine</groupId>
1313
<artifactId>module-toggle</artifactId>
1414
<name>CodinGame Game Engine Toggle Module</name>
15-
<description>This module allows to display or hide elements from the graphicEntityModule using the cg-player option toggles.</description>
15+
<description>This module allows you to display or hide elements of the GraphicEntityModule using the viewer's options menu.</description>
1616

1717
<dependencies>
1818
<dependency>

engine/modules/toggle/src/main/java/com/codingame/gameengine/module/toggle/ToggleModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
/**
1515
* @author Jean Porée
1616
*
17-
* The toggle module allows to display or hide elements from the graphicEntityModule using the cg-player option toggles.
17+
* This module allows you to display or hide elements of the GraphicEntityModule using the viewer's options menu.
1818
*
1919
*/
2020
@Singleton

playground/extensions/extensions-toggle.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ToggleModule
22

3-
This modules allows you to show elements only when a toggle of the cg-player is in a certain state.
3+
This module allows you to display or hide elements of the GraphicEntityModule using the viewer's options menu.
44
This can help to create debug modes.
55

66
## Setup
@@ -27,7 +27,7 @@ export const modules = [
2727
ToggleModule
2828
]
2929

30-
// The list of toggles displayed in the cg-player
30+
// The list of option toggles displayed in the viewer
3131
export const options = [
3232
{
3333
// The name displayed over the toggle

0 commit comments

Comments
 (0)