spacetrack/lib/flight.jl

17 lines
292 B
Julia
Raw Normal View History

2018-11-20 17:23:43 -07:00
#!/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")