public Logic(IHandleEvent parent, Map map = null, Random random = null) { _parent = parent; if (map != null) { _map = map; } if (random == null) _random = new Random(); else _random = random; }