public static void DrawMouseEntity() { if (UIEntities.Instance.Entities.SelectedIndex == 0) { GameDraw.DrawEntity(AllEntitiesEditor.player, BuddyModule.PlayerBoundarySize, new Vector2(MouseInput.MousePositionGridhalfBetter().X, MouseInput.MousePositionGridhalfBetter().Y - (62 * 2))); } if (UIEntities.Instance.Entities.SelectedIndex == 1) { GameDraw.DrawEntity(AllEntitiesEditor.mech, MechModule.MechBoundarySize, new Vector2(MouseInput.MousePositionGridhalfBetter().X, MouseInput.MousePositionGridhalfBetter().Y - (97 * 2))); } }
public void ChangeFilter() { Globals.filter = (Filtering)FilteringDrop.SelectedIndex; GameDraw.UpdateFiltering(); }