File hp/classes/Sprite.lua

Functions

I:setRectSize (width, height) 四角形のサイズを設定します.
I:setTexture (texture) Textureを設定します.
M:new (params) Spriteインスタンスを生成して返します.

Tables

Sprite 描画オブジェクトを生成するモジュールです.
オブジェクトの生成を簡単に行う事ができるようになります。


Functions

I:setRectSize (width, height)
四角形のサイズを設定します.

Parameters

  • width:
  • height:
I:setTexture (texture)
Textureを設定します.

Parameters

  • texture:
M:new (params)
Spriteインスタンスを生成して返します.

Parameters

  • params:

Tables

Sprite
描画オブジェクトを生成するモジュールです.
オブジェクトの生成を簡単に行う事ができるようになります。

Valid XHTML 1.0!