C# Class BulletMLSample.Mover

弾や敵オブジェクト(自身が弾源になる場合も、弾源から呼び出される場合もあります)
Inheritance: IBulletMLBulletInterface
ファイルを表示 Open project: babelshift/BulletMLLib Class Usage Examples

Public Properties

Property Type Description
bulletRoot bool
mlBullet BulletMLLib.BulletMLBullet
pos Vector2
used bool

Public Methods

Method Description
GetNewBullet ( ) : BulletMLBullet

新しい弾(Mover)を作成するときライブラリから呼ばれる

Init ( ) : void
SetBullet ( BulletMLTree tree ) : void
Update ( ) : void
Vanish ( ) : void

弾が消えたときにライブラリから呼び出される

Method Details

GetNewBullet() public method

新しい弾(Mover)を作成するときライブラリから呼ばれる
public GetNewBullet ( ) : BulletMLBullet
return BulletMLLib.BulletMLBullet

Init() public method

public Init ( ) : void
return void

SetBullet() public method

public SetBullet ( BulletMLTree tree ) : void
tree BulletMLLib.BulletMLTree
return void

Update() public method

public Update ( ) : void
return void

Vanish() public method

弾が消えたときにライブラリから呼び出される
public Vanish ( ) : void
return void

Property Details

bulletRoot public_oe property

public bool bulletRoot
return bool

mlBullet public_oe property

public BulletMLBullet,BulletMLLib mlBullet
return BulletMLLib.BulletMLBullet

pos public_oe property

public Vector2 pos
return Vector2

used public_oe property

public bool used
return bool