class Celestial::Vessel
- Celestial::Vessel
- Reference
- Object
Overview
A Vessel
is the base unit of the Paradise world. Vessels have names,
optional attributes, parents, owners, and triggers.
Defined in:
parade/vessel.crConstructors
-
.new(name, parent, attr = "", note = "", owner = -1, triggers = {} of String => String)
Create a new vessel.
- .new(__temp_52 : JSON::PullParser)
Instance Method Summary
- #attr : String
- #attr=(_attr : String)
- #name : String
- #name=(_name : String)
- #note : String
- #note=(_note : String)
- #owner : Int32
- #owner=(owner : Int64)
- #owner=(_owner : Int32)
- #parent : Int32
- #parent=(parent : Int64)
- #parent=(_parent : Int32)
- #to_json(json : JSON::Builder)
- #triggers : Hash(String, String)
- #triggers=(_triggers : Hash(String, String))
Constructor Detail
Create a new vessel.
NOTE #parent
and #owner
can be any object with #to_i32
- they will be
converted to Int32
when passed.