public bool canHost(Event e) { if (e.StudentNumber <= Capacity && e.getCType() == Type /*&& e.getCourse().needsProjector() <= Projector*/) return true; return false; }