if (stance = stance.standingleft)
{
//render player left
}
//OR mabye a switch statement
switch(stance)
{
case "standing left":
//render player left
break;
Best data type for holding stance data about a player
Started by liamzebedee, Apr 27 2011 09:56 PM
2 replies to this topic
#1
Posted 27 April 2011 - 09:56 PM
What is the best data type in Java for holding data about what stance(standing-left, crouching-left etc.) a player(or any entity for that matter) is in. This is an example of what I would like in my code-
|
|
|
#2
Posted 28 April 2011 - 02:13 AM
#3
Posted 28 April 2011 - 02:49 AM
Thanks
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









