spacetrack/lib/flight.jl
2018-11-20 17:23:43 -07:00

17 lines
292 B
Julia
Executable File

#!/usr/bin/julia
include("player.jl")
function take_off(playerName, shipName)
local p = Pilot()
local s = Ship()
local p.Name = playerName
local s.Name = shipName
print(p.Name, " starts the ship and takes off in ", s.Name, "!\n")
end
take_off("Jerry", "Falcon")