{"action":"opened","issue":{"url":"https://api.github.com/repos/megamarc/CsTilengine/issues/2","repository_url":"https://api.github.com/repos/megamarc/CsTilengine","labels_url":"https://api.github.com/repos/megamarc/CsTilengine/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/megamarc/CsTilengine/issues/2/comments","events_url":"https://api.github.com/repos/megamarc/CsTilengine/issues/2/events","html_url":"https://github.com/megamarc/CsTilengine/issues/2","id":370973527,"node_id":"MDU6SXNzdWUzNzA5NzM1Mjc=","number":2,"title":"Why structs instead classes?","user":{"login":"turric4n","id":7852968,"node_id":"MDQ6VXNlcjc4NTI5Njg=","avatar_url":"https://avatars1.githubusercontent.com/u/7852968?v=4","gravatar_id":"","url":"https://api.github.com/users/turric4n","html_url":"https://github.com/turric4n","followers_url":"https://api.github.com/users/turric4n/followers","following_url":"https://api.github.com/users/turric4n/following{/other_user}","gists_url":"https://api.github.com/users/turric4n/gists{/gist_id}","starred_url":"https://api.github.com/users/turric4n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turric4n/subscriptions","organizations_url":"https://api.github.com/users/turric4n/orgs","repos_url":"https://api.github.com/users/turric4n/repos","events_url":"https://api.github.com/users/turric4n/events{/privacy}","received_events_url":"https://api.github.com/users/turric4n/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-17T09:12:23Z","updated_at":"2018-10-17T09:12:23Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Hi Marc,\r\n\r\nI'm reviewing the code and all entities are defined using struct instead classes, there is a specific reason to do this? \r\n\r\nAlso, I found this library binding : \r\n\r\n`[DllImport(\"Tilengine\")]\r\nprivate static extern IntPtr TLN_CreateTilemap(int rows, int cols, Tile[] tiles, uint bgcolor, Tileset tileset);` \r\n\r\nYou pass Tileset structure reference directly instead handle pointer. I'm not sure if this is ok, because I didn't test it. Can you confirm?\r\n\r\nThanks"}}
{"actor":{"display_login":"turric4n"}}