@@ -67,7 +67,7 @@ public bool isPlayer()
6767 return id == KBEngineApp . app . entity_id ;
6868 }
6969
70- public void addDefinedPropterty ( string name , object v )
70+ public void addDefinedProperty ( string name , object v )
7171 {
7272 Property newp = new Property ( ) ;
7373 newp . name = name ;
@@ -76,8 +76,8 @@ public void addDefinedPropterty(string name, object v)
7676 newp . setmethod = null ;
7777 defpropertys_ . Add ( name , newp ) ;
7878 }
79-
80- public object getDefinedPropterty ( string name )
79+
80+ public object getDefinedProperty ( string name )
8181 {
8282 Property obj = null ;
8383 if ( ! defpropertys_ . TryGetValue ( name , out obj ) )
@@ -88,12 +88,12 @@ public object getDefinedPropterty(string name)
8888 return defpropertys_ [ name ] . val ;
8989 }
9090
91- public void setDefinedPropterty ( string name , object val )
91+ public void setDefinedProperty ( string name , object val )
9292 {
9393 defpropertys_ [ name ] . val = val ;
9494 }
9595
96- public object getDefinedProptertyByUType ( UInt16 utype )
96+ public object getDefinedPropertyByUType ( UInt16 utype )
9797 {
9898 Property obj = null ;
9999 if ( ! iddefpropertys_ . TryGetValue ( utype , out obj ) )
@@ -104,7 +104,7 @@ public object getDefinedProptertyByUType(UInt16 utype)
104104 return iddefpropertys_ [ utype ] . val ;
105105 }
106106
107- public void setDefinedProptertyByUType ( UInt16 utype , object val )
107+ public void setDefinedPropertyByUType ( UInt16 utype , object val )
108108 {
109109 iddefpropertys_ [ utype ] . val = val ;
110110 }
@@ -121,7 +121,7 @@ public virtual void callPropertysSetMethods()
121121 {
122122 foreach ( Property prop in iddefpropertys_ . Values )
123123 {
124- object oldval = getDefinedProptertyByUType ( prop . properUtype ) ;
124+ object oldval = getDefinedPropertyByUType ( prop . properUtype ) ;
125125 System . Reflection . MethodInfo setmethod = prop . setmethod ;
126126
127127 if ( setmethod != null )
@@ -258,7 +258,7 @@ public void cellCall(string methodname, params object[] arguments)
258258
259259 public void enterWorld ( )
260260 {
261- // Dbg.DEBUG_MSG(className + "::enterWorld(" + getDefinedPropterty ("uid") + "): " + id);
261+ // Dbg.DEBUG_MSG(className + "::enterWorld(" + getDefinedProperty ("uid") + "): " + id);
262262 inWorld = true ;
263263
264264 try {
@@ -298,7 +298,7 @@ public virtual void onLeaveWorld()
298298
299299 public virtual void enterSpace ( )
300300 {
301- // Dbg.DEBUG_MSG(className + "::enterSpace(" + getDefinedPropterty ("uid") + "): " + id);
301+ // Dbg.DEBUG_MSG(className + "::enterSpace(" + getDefinedProperty ("uid") + "): " + id);
302302 inWorld = true ;
303303
304304 try {
@@ -338,7 +338,7 @@ public virtual void onLeaveSpace()
338338
339339 public virtual void set_position ( object old )
340340 {
341- Vector3 v = ( Vector3 ) getDefinedPropterty ( "position" ) ;
341+ Vector3 v = ( Vector3 ) getDefinedProperty ( "position" ) ;
342342 position = v ;
343343 //Dbg.DEBUG_MSG(className + "::set_position: " + old + " => " + v);
344344
@@ -355,7 +355,7 @@ public virtual void onUpdateVolatileData()
355355
356356 public virtual void set_direction ( object old )
357357 {
358- Vector3 v = ( Vector3 ) getDefinedPropterty ( "direction" ) ;
358+ Vector3 v = ( Vector3 ) getDefinedProperty ( "direction" ) ;
359359
360360 v . x = v . x * 360 / ( ( float ) System . Math . PI * 2 ) ;
361361 v . y = v . y * 360 / ( ( float ) System . Math . PI * 2 ) ;
0 commit comments