Exemplo n.º 1
0
 public ProcGen()
 {
     nativePointer = create_ProcGen();
     generate_dungeon(nativePointer);
 }
Exemplo n.º 2
0
 private static extern int get_max_rooms(NativeProcGen *ptr);
Exemplo n.º 3
0
 private static extern char *get_dungeon(NativeProcGen *ptr);
Exemplo n.º 4
0
 private static extern int get_height(NativeProcGen *ptr);
Exemplo n.º 5
0
 private static extern int get_room_max_size(NativeProcGen *ptr);
Exemplo n.º 6
0
 private static extern void set_max_rooms(NativeProcGen *ptr, int value);
Exemplo n.º 7
0
 private static extern int get_width(NativeProcGen *ptr);
Exemplo n.º 8
0
 private static extern void set_room_min_size(NativeProcGen *ptr, int value);
Exemplo n.º 9
0
 private static extern void set_height(NativeProcGen *ptr, int value);
Exemplo n.º 10
0
 private static extern void set_width(NativeProcGen *ptr, int value);
Exemplo n.º 11
0
 private static extern void generate_dungeon(NativeProcGen *ptr);
Exemplo n.º 12
0
 private static extern void destroy_ProcGen(NativeProcGen *ptr);