public Animation(Enginee motor) { this.motor = motor; this.container = motor.Enviroment; this.mont = motor.MonteUI; this.Init(); }
private void Window_Loaded(object sender, RoutedEventArgs e) { this.eng = new Enginee(this.played, this.root, this.Mont); this.evento = new Evento(this.eng); Animation.SetColorOptionEllipses(this.selectred, this.selectgreen, this.selectblue, this.selectyellow); moveAnimX.Completed += MoveAnimX_Completed; this.anim = new Animation(this.eng); }
public Animation(Enginee motor, double timer) { this.motor = motor; this.container = motor.Enviroment; this.mont = motor.MonteUI; this.animationTime = timer; this.Init(); }
private void Window_Loaded(object sender, RoutedEventArgs e) { eng = new Enginee(Played); Lista <Player> img = eng.GetPlayers(); //player1.Fill = new ImageBrush(img[0].Infos.GetImageSource()); //player1name.Content = img[0].Infos.Name; //player2.Fill = new ImageBrush(img[1].Infos.GetImageSource()); //player2name.Content = img[1].Infos.Name; //player3.Fill = new ImageBrush(img[2].Infos.GetImageSource()); //player3name.Content = img[2].Infos.Name; //player4.Fill = new ImageBrush(img[3].Infos.GetImageSource()); //player4name.Content = img[3].Infos.Name; }
public ScreenLog(Enginee eng) { InitializeComponent(); this.eng = eng; }
static void Main(string[] args) { Enginee engine = new Enginee(); engine.Run(); }