Chattable.gd 275 B

1234567891011121314151617
  1. extends Interactable
  2. class_name Chattable
  3. var chat
  4. var NULL_CHOICE = Choice.new("","")
  5. var NULL_SAY = Saying.new(Saying.MYSELF,"")
  6. var rmargin = 0
  7. var lmargin = 0
  8. var vmargin = 0
  9. func start_chat():
  10. var c = ChatPlane.new()
  11. chat = c
  12. $CameraPlace.add_child(c)
  13. return c