-
Notifications
You must be signed in to change notification settings - Fork 36
2.2.4 ICLSPart
Joseph Korinek edited this page May 22, 2015
·
7 revisions
ICLSPart
public interface ICLSPart
{
ICLSSpace Space { get; }
bool Docked { get; }
List<ICLSKerbal> Crew { get; }
Part Part { get; }
void Highlight(bool val, bool force);
bool Habitable { get; }
bool Navigable { get; }
}
Properties
- Space
- Docked
- Crew
- Part
- Habitable
- Navigable
Methods
- Highlight This method provides a means to enable or disable highlighting of the ICLSPart object. This does not allow changing the highlight color, as the color is determined by other factors, such as passibility, part type, etc. Passing a Boolean value of true enables highlighting. Passing a bool false disable highlighting. This method need only be fire once, as it will set a flag on the associated parts to ensure the part stays highlighted until commanded to turn off.
This Highlight method differs from the same method on the other objects. This is because of the way that CLS manages highlighting. Since multiple mods may use the highlighting scheme, highlighting cascades down from the top level. When