replace ' with "
This commit is contained in:
parent
b5264c39f7
commit
2e66680d52
@ -41,11 +41,11 @@ func deposit_honeydew(amount: int) -> int:
|
||||
|
||||
|
||||
func spawn_nitwit(ding: bool = true) -> void:
|
||||
print('spawn!')
|
||||
print("spawn!")
|
||||
var new_unit := _create_unit(_nitwit_scene, AntNitwit.get_cost(), ding)
|
||||
if new_unit == null:
|
||||
return
|
||||
print('add!')
|
||||
print("add!")
|
||||
StaticNodesManager.nitwits_holder.add_child(new_unit)
|
||||
|
||||
|
||||
|
||||
@ -35,10 +35,10 @@ func _process(_delta: float) -> void:
|
||||
return
|
||||
_control.queue_redraw()
|
||||
|
||||
text('fps: ' + str(Performance.get_monitor(Performance.TIME_FPS)))
|
||||
text('draw calls: ' + str(Performance.get_monitor(Performance.RENDER_TOTAL_DRAW_CALLS_IN_FRAME)))
|
||||
text('camera anim step: ' + str(StaticNodesManager.main_camera.advance_anim_step))
|
||||
text('select anim step: ' + str(SelectionManager.advance_anim_step))
|
||||
text("fps: " + str(Performance.get_monitor(Performance.TIME_FPS)))
|
||||
text("draw calls: " + str(Performance.get_monitor(Performance.RENDER_TOTAL_DRAW_CALLS_IN_FRAME)))
|
||||
text("camera anim step: " + str(StaticNodesManager.main_camera.advance_anim_step))
|
||||
text("select anim step: " + str(SelectionManager.advance_anim_step))
|
||||
|
||||
|
||||
func _input(event: InputEvent) -> void:
|
||||
@ -85,7 +85,7 @@ func _unproject(pos: Vector3) -> Vector2:
|
||||
|
||||
|
||||
func _draw_text() -> void:
|
||||
_label.text = '\n'.join(_text_to_draw)
|
||||
_label.text = "\n".join(_text_to_draw)
|
||||
|
||||
|
||||
func _draw_vector(from: Vector3, to: Vector3, color: Color) -> void:
|
||||
|
||||
@ -45,7 +45,7 @@ func _input(event: InputEvent) -> void:
|
||||
|
||||
|
||||
func _click() -> void:
|
||||
print(self, ' clicked!')
|
||||
print(self, " clicked!")
|
||||
|
||||
|
||||
func _on_mouse_entered() -> void:
|
||||
|
||||
@ -28,10 +28,10 @@ func _close() -> void:
|
||||
|
||||
|
||||
func _on_cancel_button_pressed() -> void:
|
||||
print('cancel')
|
||||
print("cancel")
|
||||
_close()
|
||||
|
||||
|
||||
func _on_quit_button_pressed() -> void:
|
||||
print('quit')
|
||||
print("quit")
|
||||
get_tree().quit()
|
||||
|
||||
@ -81,7 +81,7 @@ func navigate(to: Vector3, relocating: bool = false) -> void:
|
||||
|
||||
|
||||
func _interact(with: Interactable) -> void:
|
||||
print(self, ' interacting with ', with)
|
||||
print(self, " interacting with ", with)
|
||||
|
||||
|
||||
func _set_target_click(mouse_pos: Vector2) -> void:
|
||||
|
||||
@ -68,9 +68,9 @@ func _on_moving_started() -> void:
|
||||
|
||||
|
||||
func _on_gathering_navigate_to(pos: Vector3) -> void:
|
||||
print('_on_gathering_navigate_to')
|
||||
print("_on_gathering_navigate_to")
|
||||
if state != State.GATHERING:
|
||||
return
|
||||
print('_on_gathering_navigate_to 2')
|
||||
print("_on_gathering_navigate_to 2")
|
||||
|
||||
navigate(pos)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user