New Super Mario Bros. U Headers
Loading...
Searching...
No Matches
IceMgr Class Reference

#include <IceMgr.h>

Classes

struct  IceStatus
struct  TimeInfo

Public Member Functions

 IceMgr (Enemy *owner)
 ~IceMgr ()
void setIceStatus (const IceStatus &status)
bool createIce (IceInfo *info, s32 num)
bool createIce (IceInfo &info)
template<s32 N>
bool createIce (IceInfo(&info_array)[N])
void removeIce ()
bool hasIce () const

Static Public Attributes

static const s32 cIceMaxNum = 12

Protected Attributes

u8 mIceNum
sead::SafeArray< ActorUniqueID, cIceMaxNummIceID
IceStatus mIceStatus
TimeInfomTimeInfo
EnemymOwner
s16 mTimer1
s16 mTimer2
bool mHasIce
bool mPermanent
u8 _46
u8 _47
u8 _48
u8 _49
u8 _4a
s8 mPlayerNo
u8 _4c

Constructor & Destructor Documentation

◆ IceMgr()

IceMgr::IceMgr ( Enemy * owner)

◆ ~IceMgr()

IceMgr::~IceMgr ( )

Member Function Documentation

◆ setIceStatus()

void IceMgr::setIceStatus ( const IceStatus & status)

◆ createIce() [1/3]

bool IceMgr::createIce ( IceInfo * info,
s32 num )

◆ createIce() [2/3]

bool IceMgr::createIce ( IceInfo & info)
inline

◆ createIce() [3/3]

template<s32 N>
bool IceMgr::createIce ( IceInfo(&) info_array[N])
inline

◆ removeIce()

void IceMgr::removeIce ( )

◆ hasIce()

bool IceMgr::hasIce ( ) const
inline

Member Data Documentation

◆ cIceMaxNum

const s32 IceMgr::cIceMaxNum = 12
static

◆ mIceNum

u8 IceMgr::mIceNum
protected

◆ mIceID

sead::SafeArray<ActorUniqueID, cIceMaxNum> IceMgr::mIceID
protected

◆ mIceStatus

IceStatus IceMgr::mIceStatus
protected

◆ mTimeInfo

TimeInfo* IceMgr::mTimeInfo
protected

◆ mOwner

Enemy* IceMgr::mOwner
protected

◆ mTimer1

s16 IceMgr::mTimer1
protected

◆ mTimer2

s16 IceMgr::mTimer2
protected

◆ mHasIce

bool IceMgr::mHasIce
protected

◆ mPermanent

bool IceMgr::mPermanent
protected

◆ _46

u8 IceMgr::_46
protected

◆ _47

u8 IceMgr::_47
protected

◆ _48

u8 IceMgr::_48
protected

◆ _49

u8 IceMgr::_49
protected

◆ _4a

u8 IceMgr::_4a
protected

◆ mPlayerNo

s8 IceMgr::mPlayerNo
protected

◆ _4c

u8 IceMgr::_4c
protected