godot-haskell-0.1.0.0: Haskell bindings for the Godot game engine API

Safe HaskellNone
LanguageHaskell2010

Godot.Nativescript

Synopsis

Documentation

class GodotClass a where Source #

Typeclass for types that are bound to godot

registerClass Source #

Arguments

:: (GodotClass a, Typeable a) 
=> GdnativeHandle 
-> String

base class

-> (GodotObject -> IO a)

create action

-> (GodotObject -> a -> IO ())

destroy action

-> IO () 

copyVariant Source #

Arguments

:: Ptr GodotVariant

destination

-> Ptr GodotVariant

source

-> IO () 

registerProperty Source #

Arguments

:: GodotClass a 
=> GdnativeHandle 
-> String

property path

-> PropertyAttributes 
-> (GodotObject -> a -> GodotVariant -> IO ())

set func. godot variants destroyed at end of call

-> (GodotObject -> a -> IO GodotVariant)

get func

-> IO () 

registerSignal Source #

Arguments

:: GodotClass a 
=> GdnativeHandle 
-> Proxy a 
-> Text

signal name

-> [SignalArgument]

args

-> [Variant GodotTy]

default args

-> IO ()