OSDN Git Service

fead97e8e003ae398b3b2c03d436e3ec09955f64
[h58pcdgame/GameScriptCoreLibrary.git] / www / corelib / classes / WarpItemClass.js
1 // args[0] : stageName  if blank warp in the stage
2 // args[1] : move_to x  location(pixel) to warp
3 // args[2] : move_to y
4 // args[3] : size_x
5 // args[4] : size_y
6
7 var WarpItemClass = function(){
8         WarpItemClass.base.apply(this, [false, function(main, obj_x, obj_y){
9                 
10         }]);
11         
12         if(args[3])
13         {
14                 this.size.x = args[3];
15         }
16         if(args[4])
17         {
18                 this.size.y = args[4];
19         }
20
21 }.extend(FreeItemClass, {
22
23 });