void DrowEntites(Entiti entities) { if (entities.IAmOnTheMap(entities)) { /* рисует на карте существо */ } }
public bool EatHim(Entiti player, Entiti bonus) { if (player.X == bonus.X && player.Y == player.Y) { return(true); } else { return(false); } }
public bool IAmOnTheMap(Entiti entities) { if (entities.X > 0 && entities.Y > 0) { return(true); } else { return(false); } }
public void Moving(Entiti entities) { bool start = IAmOnTheMap(entities); // и какая -то логика в зависимости от действий игрока }
public void Moving(Entiti entities) { throw new NotImplementedException(); }
public bool EatHim(Entiti entities, Entiti entities2) { throw new NotImplementedException(); }