from gii.core import *

# class CmdCreateEntity( EditorCommand ):
# 	name = 'scene_editor/create_entity'

# 	def __init__( **option ):		
# 		self.created = None

# 	def redo( self ):
# 		mock = app.getModule('mock')
# 		self.created = mock.createEntity()
	
# 	def undo( self ):
# 		mock = app.getModule('mock')
# 		mock.removeEntity( self.created )
# 		self.created = None

from gii.core import *

# class CmdCreateEntity( EditorCommand ):
# 	name = 'scene_editor/create_entity'

# 	def __init__( **option ):		
# 		self.created = None

# 	def redo( self ):
# 		mock = app.getModule('mock')
# 		self.created = mock.createEntity()
	
# 	def undo( self ):
# 		mock = app.getModule('mock')
# 		mock.removeEntity( self.created )
# 		self.created = None

# class CmdCreateEntity( EditorCommand ): # 	name = 'scene_editor/create_entity' # 	def __init__( **option ): # 		self.created = None # 	def redo( self ): # 		mock = app.getModule('mock') # 		self.created = mock.createEntity() # 	def undo( self ): # 		mock = app.getModule('mock') # 		mock.removeEntity( self.created ) # 		self.created = None