Logo
Public Member Functions | Static Public Member Functions | Public Attributes | Properties | List of all members
Yukar.Engine.EffectDrawerBase Class Referenceabstract

Base class for drawing effects (sprites/particles) More...

Inheritance diagram for Yukar.Engine.EffectDrawerBase:
Yukar.Engine.EffectDrawer Yukar.Engine.EffectDrawer3D

Public Member Functions

virtual void load (Common.Rom.RomItem rom, Common.Catalog catalog)
 
abstract void initialize ()
 
abstract void finalize ()
 
abstract void update (bool playSE=true, float elapsed=-1)
 
virtual void draw (int targetX, int targetY, bool withFlash=true)
 
abstract void draw (SharpKmyMath.Matrix4 pp, SharpKmyMath.Matrix4 vv)
 
abstract void drawFlash ()
 
abstract Color getNowTargetColor ()
 
abstract bool isSameRom (Guid guid)
 
virtual bool drawFor3D (MapCharacter src, MapCharacter dest, int totalCount, float yangle)
 

Static Public Member Functions

static EffectDrawerBase createAndLoad (Common.Rom.RomItem effect, Catalog catalog, MapCharacter mapChr=null)
 

Public Attributes

Common.Rom.RomItem effect
 
MapCharacter mapChr
 

Properties

bool isEndPlaying = true [get, set]
 
bool isOverDamageTime = true [get, set]
 
bool isEndPlayingOrOverDamageTime [get]
 
virtual NSprite.OrigPos origPos [get]
 

Detailed Description

Base class for drawing effects (sprites/particles)

Member Function Documentation

◆ createAndLoad()

static EffectDrawerBase Yukar.Engine.EffectDrawerBase.createAndLoad ( Common.Rom.RomItem  effect,
Catalog  catalog,
MapCharacter  mapChr = null 
)
static

◆ draw() [1/2]

virtual void Yukar.Engine.EffectDrawerBase.draw ( int  targetX,
int  targetY,
bool  withFlash = true 
)
virtual

Reimplemented in Yukar.Engine.EffectDrawer.

◆ draw() [2/2]

abstract void Yukar.Engine.EffectDrawerBase.draw ( SharpKmyMath.Matrix4  pp,
SharpKmyMath.Matrix4  vv 
)
pure virtual

◆ drawFlash()

abstract void Yukar.Engine.EffectDrawerBase.drawFlash ( )
pure virtual

◆ drawFor3D()

virtual bool Yukar.Engine.EffectDrawerBase.drawFor3D ( MapCharacter  src,
MapCharacter  dest,
int  totalCount,
float  yangle 
)
virtual

Reimplemented in Yukar.Engine.EffectDrawer3D.

◆ finalize()

abstract void Yukar.Engine.EffectDrawerBase.finalize ( )
pure virtual

◆ getNowTargetColor()

abstract Color Yukar.Engine.EffectDrawerBase.getNowTargetColor ( )
pure virtual

◆ initialize()

abstract void Yukar.Engine.EffectDrawerBase.initialize ( )
pure virtual

◆ isSameRom()

abstract bool Yukar.Engine.EffectDrawerBase.isSameRom ( Guid  guid)
pure virtual

◆ load()

virtual void Yukar.Engine.EffectDrawerBase.load ( Common.Rom.RomItem  rom,
Common.Catalog  catalog 
)
virtual

◆ update()

abstract void Yukar.Engine.EffectDrawerBase.update ( bool  playSE = true,
float  elapsed = -1 
)
pure virtual

Member Data Documentation

◆ effect

Common.Rom.RomItem Yukar.Engine.EffectDrawerBase.effect

◆ mapChr

MapCharacter Yukar.Engine.EffectDrawerBase.mapChr

Property Documentation

◆ isEndPlaying

bool Yukar.Engine.EffectDrawerBase.isEndPlaying = true
getset

◆ isEndPlayingOrOverDamageTime

bool Yukar.Engine.EffectDrawerBase.isEndPlayingOrOverDamageTime
get

◆ isOverDamageTime

bool Yukar.Engine.EffectDrawerBase.isOverDamageTime = true
getset

◆ origPos

virtual NSprite.OrigPos Yukar.Engine.EffectDrawerBase.origPos
get