This commit is contained in:
@@ -33,10 +33,11 @@ func create_entity_container() -> Node2D:
|
||||
|
||||
return container
|
||||
|
||||
func drop_item(item: Item, item_position : Vector2):
|
||||
func drop_item(item: Item, item_position : Vector2) -> ItemObject:
|
||||
var item_object = ItemObject.new(item)
|
||||
add_entity(item_object)
|
||||
item_object.global_position = item_position
|
||||
return item_object
|
||||
|
||||
func create_border_limit() -> StaticBody2D:
|
||||
var staticBody = StaticBody2D.new()
|
||||
|
||||
Reference in New Issue
Block a user