OSDN Git Service

Merge branch 'master' of https://scm.sourceforge.jp/gitroot/h58pcdgame/GameScriptCore...
[h58pcdgame/GameScriptCoreLibrary.git] / www / corelib / classes / ItemClass.js
1 var ItemClass = function(ownerStage, args)
2 {
3         //args[imgName]
4         ItemClass.base.apply(this, arguments);
5         this.isPhantom = true;
6         
7 }.extend(StageObject, {
8         
9         
10         draw: function(x, y){
11
12         },
13         
14         tick: function(){
15         
16         },
17         itemAttacked : function(obj, obj_x, obj_y){
18                 //\82±\82Ì\8f\88\97\9d\82ð\8eq\83N\83\89\83X\82Å\8fã\8f\91\82«\82µ\82Ä\83A\83C\83e\83\80\82Ì\93®\8dì\82ð\92è\8b`\82·\82é
19                 //obj : \82±\82Ì\83A\83C\83e\83\80\82É\90G\82Á\82½\90l(MainCharacter\82È\82Ç)
20                 //obj_x : obj\82Ì\90G\82ê\82½\92¼\8cã\82Ìx\8dÀ\95W
21         }
22 });