Код: Выделить всё
public class Base {
public Base(Game1 game)
{
this.game = game;
}
public virtual void Draw()
{
}
}
< /code>
Класс ребенка: < /p>
public class Ext : Base {
public Ext(Game1 game) : base(game)
{
}
public override void Draw(SpriteBatch batch)
{
}
}
Подробнее здесь: https://stackoverflow.com/questions/644 ... ere-is-one
Мобильная версия