Skip to content

Commit d855401

Browse files
authored
Update AmbientLight: add toString method
1 parent 3fea76f commit d855401

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

jme3-core/src/main/java/com/jme3/light/AmbientLight.java

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2009-2012, 2015 jMonkeyEngine
2+
* Copyright (c) 2009-2025 jMonkeyEngine
33
* All rights reserved.
44
*
55
* Redistribution and use in source and binary forms, with or without
@@ -83,4 +83,13 @@ public Type getType() {
8383
return Type.Ambient;
8484
}
8585

86+
@Override
87+
public String toString() {
88+
return getClass().getSimpleName()
89+
+ "[name=" + name
90+
+ ", color=" + color
91+
+ ", enabled=" + enabled
92+
+ "]";
93+
}
94+
8695
}

0 commit comments

Comments
 (0)