public static void DrawEntity(AllEntitiesEditor type, Vector2 size, Vector2 position) { DrawRectangleBoundary.DrawWhite(new Rectangle((int)position.X, (int)position.Y, (int)size.X, (int)size.Y)); if (type == AllEntitiesEditor.player) { DrawEntities.DrawBuddyDefault(new Vector2((int)position.X, (int)position.Y)); } if (type == AllEntitiesEditor.mech) { DrawEntities.DrawMechDefault(new Vector2((int)position.X, (int)position.Y)); } }
public void Draw() { DrawEntities.DrawBuddyDefault(Boundary.Position); }