Kaba class NetworkManager ed

...

Syntax ed

class NetworkManager
    var cur_con: Connection&

    # functions
    func mut connect_to_host(host: string) -> Connection*
    func mut event(id: string, e: BaseClass, f: void->void)

Functions ed

func mut connect_to_host(host: string) -> Connection*
...

func mut event(id: string, e: BaseClass, f: void->void)
...

Elements ed

var cur_con: Connection&
...