private static void showGameObject(string caption, GameObject gameObject) { GameObjectViewModel gameObjectViewModel = new GameObjectViewModel { Caption = caption, GameObject = gameObject }; GameObjectWindow gameObjectWindow = new GameObjectWindow(gameObjectViewModel); gameObjectWindow.Show(); }
public void Remove(GameObjectViewModel obj) { this.friendlyObjects.Remove(obj); }
public GameObjectWindow() { InitializeComponent(); DataContext = new GameObjectViewModel(); }
public override bool IsOver(GameObjectViewModel other) { return(base.IsOver(other)); }