www.pudn.com > BlackCross.rar > gameObject.java
class gameObject
{
int ID;
int status;
int imageNumber;
int animationCurrent;
int animationCounter;
int animationType;
int animationSpeed;
int animationMax;
int position[];
int screenPos[];
int direction;
int facing;
int speed;
int script;
int scriptPos;
int scriptCounter;
int hitsNum;
int hitsType;
int hitsTotal;
int hierarchyType;
int motherTyp;
int motherNo;
int motherID;
int motherPosition[];
creation creations[];
int clip;
int size[];
int colSize[];
int score;
public gameObject()
{
imageNumber = -1;
position = new int[2];
screenPos = new int[2];
direction = 0;
hitsNum = 1;
motherPosition = new int[2];
creations = new creation[5];
size = new int[2];
colSize = new int[2];
for(int i = 0; i < 5; i++)
creations[i] = new creation();
}
public void update()
{
if(status == 0)
return;
else
return;
}
}