public PosterActivity(Poster poster, CentraProccessing cpu, string label) { st = Game.OUG; this.label = label; this.poster = poster; this.cpu = cpu; }
public ChoseMapMenu(Poster poster, CentraProccessing cpu) { st = Game.OUG; label = "Map Menu"; index = 0; source = new List <string>(); item = new List <string>(); this.poster = poster; this.cpu = cpu; try { string[] file = Directory.GetFiles("map").Where(n => n.EndsWith(".mp")).ToArray(); if (file.Length == 0) { throw new Exception(); } int i = 1; foreach (var s in file) { source.Add(s); item.Add(i + "." + Path.GetFileName(s).Split('.')[0]); i++; } } catch (Exception e) { Environment.Exit(1); } }
public FirstMenu(Poster poster, CentraProccessing cpu) { st = Game.OUG; label = "T.P.Menu"; index = 0; this.poster = poster; this.cpu = cpu; }
public EndGame(Poster poster, CentraProccessing cpu, string label, string[] data) { st = Game.OUG; this.label = label; this.poster = poster; this.cpu = cpu; this.data = data; }
public SpeedMenu(Poster poster, CentraProccessing cpu) { this.poster = poster; this.cpu = cpu; index = 0; label = "S.Menu"; st = Game.OUG; }
public Option(Poster poster, CentraProccessing cpu, string label) { st = Game.OUG; this.label = label; this.poster = poster; this.cpu = cpu; key = '\0'; index = 0; }
public MultiMapActivity(User user, Map canvas, CentraProccessing cpu, string label) { key = '\0'; this.cpu = cpu; this.label = label; this.user = user; this.canvas = canvas; this.canvas.addSnake(new UserSnake(5)); part = canvas.getBigBaitTimeLimt / 4; }
public MapNotification(Poster poster, CentraProccessing cpu, Map map, User user, string label, string[] data) { st = Game.OUG; this.label = label; this.poster = poster; this.cpu = cpu; this.data = data; this.map = map; this.user = user; }
public SettingMenu(Poster poster, CentraProccessing cpu) { st = Game.OUG; label = "Setting"; menuType = 0; clY = Game.colorIndex; fiY = Game.figureIndex; ctY = Game.mapColorIndex; this.poster = poster; this.cpu = cpu; }
static void Main(string[] args) { cpu = new CentraProccessing(); keyEvent(); }