?? zexplodingobject.jad
字號:
// Decompiled by DJ v2.9.9.60 Copyright 2000 Atanas Neshkov Date: 2004-12-12 17:50:11
// Home Page : http://members.fortunecity.com/neshkov/dj.html - Check often for new version!
// Decompiler options: packimports(3)
// Source File Name: ZExplodingObject.java
public class ZExplodingObject extends ZObject
{
public ZExplodingObject()
{
super.fNumPolygons = 0;
super.fX = super.fY = super.fZ = super.fSpeed = super.fXAngle = super.fYAngle = super.fZAngle = 0;
super.fAction = 1;
super.fStatus = 1;
super.fExplodable = true;
super.fCanBeHitByPlayerBullet = true;
super.fShouldBeCheckForCollision = true;
}
public void DoAction()
{
if(super.fAction == 6)
{
super.fAction = 3;
return;
}
if(super.fAction == 3)
{
super.fAction = 5;
super.fStatusTimer = 0;
super.fYSpeed = -15;
super.fXRotationSpeed = (int)(Math.random() * 80D);
super.fYRotationSpeed = (int)(Math.random() * 80D);
super.fZRotationSpeed = (int)(Math.random() * 80D);
return;
}
if(super.fAction == 5)
{
super.fYSpeed++;
if(super.fY >= 10)
{
boolean _tmp = super.fStatus == 0;
super.fAction = 0;
super.fMaxLifeTime = 0;
if(super.fType == 1 || super.fType == 4)
{
ExplodeIntoPolygonPieces();
ZObject.fWorld.fPlayExplodeSnd = true;
}
}
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -