Back to project page hackfmi-ragdoll-physics.
The source code is released under:
GNU General Public License
If you think the Android project hackfmi-ragdoll-physics listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.midtownmadness.bubblecombat.multiplay; //w w w .j av a 2s. c o m public enum MessageType { JOIN_GAME, GO, ERROR, EVENT; public static MessageType getByOrdinal(int ordinal) { for (MessageType type : MessageType.values()) { if (type.ordinal() == ordinal) { return type; } } return null; } }