objective c - How to make a set of levels for my iOS game -


so have these 5 setter methods set game i'm making positions objects placed. are:

    - (void) settoinitialstatemain {          [super clearboard];          [super setcellstate:stoneone forcolumn:1 androw:1];          [super setcellstate:stonetwo forcolumn:2 androw:3];     } 

and 4 other setters that. let's have 50 levels, , positions objects per level ready implemented 5 setters, how able this, if @ all?

how can make press number 1-50 on screen, , program know pressed level 32, load positions level 32 (to applied in setter methods when called @ beginning stage of loading)?


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -