private SmallMario() { if (_instance != null) { return; } _instance = this; }
public Mario() { LifeCount = 1; CoinCount = 0; smallMario = new SmallMario(this); superMario = new SuperMario(this); fireMario = new FireMario(this); capeMario = new CapeMario(this); state = smallMario; }