C# Class BulletMLSample.Mover

弾や敵オブジェクト(自身が弾源になる場合も、弾源から呼び出される場合もあります)
Inheritance: IBulletMLBulletInterface
Show file 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 property

public bool bulletRoot
return bool

mlBullet public property

public BulletMLBullet,BulletMLLib mlBullet
return BulletMLLib.BulletMLBullet

pos public property

public Vector2 pos
return Vector2

used public property

public bool used
return bool