Slick Forums http://slick.ninjacave.com/forum/ |
|
BUG: Shape can't be serialized. http://slick.ninjacave.com/forum/viewtopic.php?f=4&t=2938 |
Page 1 of 1 |
Author: | Lufti [ Tue Dec 28, 2010 11:08 pm ] |
Post subject: | BUG: Shape can't be serialized. |
The classes NeatTriangulator, MannTriangulator, OverTriangulator make use of some classes which don't implement serializable (e.g. NeatTriangulatur uses class Edge of AWT and BasicTriangulator the inner class PointList). Without the feature to serialize Shape its impossible to send such data through the internet (network game) or to save the game. I've tried to set the triangulator member of class Shape to transient and it seems to work. Please take a look at these classes! Thanks a lot! Lufti |
Author: | kevglass [ Wed Mar 09, 2011 10:05 am ] |
Post subject: | |
Author: | kevglass [ Wed Mar 09, 2011 2:35 pm ] |
Post subject: | |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |