Skip to content

Class "EntityBomb"⚓︎

Class Diagram⚓︎

    classDiagram
    class Entity:::diagramCurrentPage
    class EntityBomb
    class EntityEffect
    class EntityFamiliar
    class EntityKnife
    class EntityLaser
    class EntityNPC
    class EntityPickup
    class EntityPlayer
    class EntityProjectile
    class EntitySlot
    class EntityTear
    Entity <|-- EntityBomb
    Entity <|-- EntityEffect
    Entity <|-- EntityFamiliar
    Entity <|-- EntityKnife
    Entity <|-- EntityLaser
    Entity <|-- EntityNPC
    Entity <|-- EntityPickup
    Entity <|-- EntityPlayer
    Entity <|-- EntityProjectile
    Entity <|-- EntitySlot
    Entity <|-- EntityTear
    link Entity "https://wofsauge.github.io/IsaacDocs/rep/Entity.html" "Go to page for 'Entity' class"
    link EntityBomb "https://wofsauge.github.io/IsaacDocs/rep/EntityBomb.html" "Go to page for 'EntityBomb' class"
    link EntityEffect "https://wofsauge.github.io/IsaacDocs/rep/EntityEffect.html" "Go to page for 'EntityEffect' class"
    link EntityFamiliar "https://wofsauge.github.io/IsaacDocs/rep/EntityFamiliar.html" "Go to page for 'EntityFamiliar' class"
    link EntityKnife "https://wofsauge.github.io/IsaacDocs/rep/EntityKnife.html" "Go to page for 'EntityKnife' class"
    link EntityLaser "EntityLaser.html" "Go to page for 'EntityLaser' class"
    link EntityNPC "EntityNPC.html" "Go to page for 'EntityNPC' class"
    link EntityPickup "EntityPickup.html" "Go to page for 'EntityPickup' class"
    link EntityPlayer "EntityPlayer.html" "Go to page for 'EntityPlayer' class"
    link EntityProjectile "https://wofsauge.github.io/IsaacDocs/rep/EntityProjectile.html" "Go to page for 'EntityProjectile' class"
    link EntitySlot "EntitySlot.html" "Go to page for 'EntitySlot' class"
    link EntityTear "https://wofsauge.github.io/IsaacDocs/rep/EntityTear.html" "Go to page for 'EntityTear' class"

Functions⚓︎

GetCostumeLayerSprite ()⚓︎

Sprite GetCostumeLayerSprite ( BombCostumeLayer LayerID )⚓︎


GetExplosionCountdown ()⚓︎

int GetExplosionCountdown ( )⚓︎


GetFallingSpeed ()⚓︎

float GetFallingSpeed ( )⚓︎


GetHeight ()⚓︎

float GetHeight ( )⚓︎


GetHitList ()⚓︎

int[] GetHitList ( )⚓︎


GetRocketAngle ()⚓︎

float GetRocketAngle ( )⚓︎

火箭炸弹的目标角度。它会影响火箭炸弹的移动和精灵图的朝向。


GetRocketSpeed ()⚓︎

float GetRocketSpeed ( )⚓︎

火箭炸弹的目标速度。自然情况下,其速度每帧增加1。


GetScale ()⚓︎

float GetScale ( )⚓︎

用于应用炸弹外观的动画集。


IsLoadingCostumes ()⚓︎

boolean IsLoadingCostumes ( )⚓︎


IsPrismTouched ()⚓︎

boolean IsPrismTouched ( )⚓︎

返回该炸弹是否是通过天使棱镜效果创建的。


SetFallingSpeed ()⚓︎

void SetFallingSpeed ( float Speed )⚓︎


SetHeight ()⚓︎

void SetHeight ( float Height )⚓︎


SetLoadCostumes ()⚓︎

void SetLoadCostumes ( boolean Load = true )⚓︎


SetPrismTouched ()⚓︎

void SetPrismTouched ( boolean IsTouched )⚓︎

设置该炸弹是否是通过天使棱镜效果创建的。


SetRocketAngle ()⚓︎

void SetRocketAngle ( float Angle )⚓︎

设置火箭炸弹的目标角度。它会影响火箭炸弹的移动和精灵图的朝向。


SetRocketSpeed ()⚓︎

void SetRocketSpeed ( float Speed )⚓︎

设置火箭炸弹的目标速度。请注意,其速度自然情况下每帧会增加1。


SetScale ()⚓︎

void SetScale ( float Scale )⚓︎

应与 SetLoadCostumes 方法一起使用。


UpdateDirtColor ()⚓︎

void UpdateDirtColor ( )⚓︎