NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches

#include <game/bases/d_enemy.hpp>

Description

Definition at line 24 of file d_enemy.hpp.

Public Member Functions

dDeathInfo_coperator= (const sDeathInfoData &other)
float getXSpeed () const
float getYSpeed () const
float getMaxYSpeed () const
float getYAccel () const

Public Attributes

const sStateIDIf_cmDeathState
int mScore
int m_18
u8 mDirection
s8 mKilledBy
bool mIsDead

Static Public Attributes

static const u8 smc_UNKNOWN_HIT = 50

Private Attributes

mVec2_c mSpeed
float mMaxYSpeed
float mYAccel

Constructor & Destructor Documentation

◆ dDeathInfo_c()

dDeathInfo_c::dDeathInfo_c ( )
inline

Definition at line 26 of file d_enemy.hpp.

Member Function Documentation

◆ operator=()

dDeathInfo_c & dDeathInfo_c::operator= ( const sDeathInfoData & other)
inline

Definition at line 28 of file d_enemy.hpp.

◆ getXSpeed()

float dDeathInfo_c::getXSpeed ( ) const
inline

Definition at line 41 of file d_enemy.hpp.

◆ getYSpeed()

float dDeathInfo_c::getYSpeed ( ) const
inline

Definition at line 45 of file d_enemy.hpp.

◆ getMaxYSpeed()

float dDeathInfo_c::getMaxYSpeed ( ) const
inline

Definition at line 49 of file d_enemy.hpp.

◆ getYAccel()

float dDeathInfo_c::getYAccel ( ) const
inline

Definition at line 53 of file d_enemy.hpp.

Member Data Documentation

◆ smc_UNKNOWN_HIT

const u8 dDeathInfo_c::smc_UNKNOWN_HIT = 50
static

Definition at line 57 of file d_enemy.hpp.

◆ mSpeed

mVec2_c dDeathInfo_c::mSpeed
private

Definition at line 60 of file d_enemy.hpp.

◆ mMaxYSpeed

float dDeathInfo_c::mMaxYSpeed
private

Definition at line 61 of file d_enemy.hpp.

◆ mYAccel

float dDeathInfo_c::mYAccel
private

Definition at line 62 of file d_enemy.hpp.

◆ mDeathState

const sStateIDIf_c* dDeathInfo_c::mDeathState

Definition at line 64 of file d_enemy.hpp.

◆ mScore

int dDeathInfo_c::mScore

Definition at line 65 of file d_enemy.hpp.

◆ m_18

int dDeathInfo_c::m_18

Definition at line 66 of file d_enemy.hpp.

◆ mDirection

u8 dDeathInfo_c::mDirection

Definition at line 67 of file d_enemy.hpp.

◆ mKilledBy

s8 dDeathInfo_c::mKilledBy

Definition at line 68 of file d_enemy.hpp.

◆ mIsDead

bool dDeathInfo_c::mIsDead

Definition at line 69 of file d_enemy.hpp.