Example #1
0
 private void setActive(Igameobject onenpc)
 {
     ActiveNpc = onenpc;
     menu = ActiveNpc.menu();
     keyMapping = ActiveNpc.menu().keyMapping();
 }
Example #2
0
 private void insertObject(Igameobject obj, int x, int y)
 {
     objects.Add(obj);
     agrid.insertgrid(obj, x, y);
 }
Example #3
0
 public gridcell(Igameobject cellobject)
 {
     cell_ = new cell(cellobject, ConsoleColor.Green);
 }
Example #4
0
 public cell(Igameobject a, ConsoleColor b)
 {
     this.cellObject_ = a;
     this.cellColor_ = b;
 }
Example #5
0
 //public event EventHandler SimpleEvent;
 public void insertgrid(Igameobject obj, int x, int y)
 {
     grid_[x, y] = new gridcell(obj);
 }