Bläddra i källkod

Nuked mojo3d.DynamicObject and made mojo3d.Component abstract.

Mark Sibly 7 år sedan
förälder
incheckning
09eae81427

+ 0 - 1
modules/mojo3d/mojo3d.monkey2

@@ -18,7 +18,6 @@ Using reflection..
 
 #Import "scene/raycastresult"
 #Import "scene/component"
-#Import "scene/dynamicobject"
 #Import "scene/entity"
 #Import "scene/entityexts"
 #Import "scene/scene"

+ 1 - 1
modules/mojo3d/scene/component.monkey2

@@ -41,7 +41,7 @@ Class ComponentType
 	Field _flags:ComponentTypeFlags
 End
 
-Class Component
+Class Component Abstract
 	
 	Method New( entity:Entity,type:ComponentType )
 		

+ 0 - 21
modules/mojo3d/scene/dynamicobject.monkey2

@@ -1,21 +0,0 @@
-
-Namespace mojo3d
-
-Class DynamicObject
-
-	Method SetDynamicProperty<T>( name:String,value:T )
-	
-		If Not _dynprops _dynprops=New StringMap<Object>
-		
-		_dynprops[name]=value
-	End
-	
-	Method GetDynamicProperty<T>:T( name:String )
-	
-		Return _dynprops ? Cast<T>( _dynprops[name] ) Else Null
-	End
-	
-	Private
-	
-	Field _dynprops:StringMap<Object>
-End

+ 1 - 1
modules/mojo3d/scene/entity.monkey2

@@ -3,7 +3,7 @@ Namespace mojo3d
 
 #rem monkeydoc The Entity class.
 #end
-Class Entity Extends DynamicObject Abstract
+Class Entity Abstract
 	
 	#rem monkeydoc Copied signal.