Some nice rounding in float representation
This commit is contained in:
parent
1982eb5e4e
commit
997e3c0982
6 changed files with 33 additions and 9 deletions
|
|
@ -10,3 +10,12 @@ class_name PlayerShip
|
|||
var selected_node: Node2D = null
|
||||
## Currency variable
|
||||
var money: float = 1000.0
|
||||
## Base which was requested to dock last
|
||||
var docking_base: Base = null
|
||||
|
||||
func destroy():
|
||||
super.destroy()
|
||||
if docking_base != null:
|
||||
docking_base.dock_ready()
|
||||
docking_base = null
|
||||
selected_node = null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue