Introduction to OOP Chapter 9: A Solitare Game: next previous audio real text

Separation of Data and View

We reduce the complexity of card and card piles by separating out the data and view classes.
public abstract class CardView
	public abstract void display (PlayingCard aCard, int x, int y);

	public static int Width = 50;
	public static int Height = 70;
Intro OOP, Chapter 9, Slide 04