38- (IBAction) inspectOwner:sender
40 [[[
self object] owner] inspect];
46 id object = [
self object];
49 [_scanClassField setStringValue:[object inspScanClassLine] ?: placeholder];
50 [_statusField setStringValue:[object inspStatusLine] ?: placeholder];
51 [_retainCountField setStringValue:[object inspRetainCountLine] ?: @"0"];
52 [_positionField setStringValue:[object inspPositionLine] ?: placeholder];
53 [_velocityField setStringValue:[object inspVelocityLine] ?: placeholder];
54 [_orientationField setStringValue:[object inspOrientationLine] ?: placeholder];
55 [_energyField setStringValue:[object inspEnergyLine] ?: placeholder];
56 [_energyIndicator setFloatValue:object ? ([object energy] * 100.0f / [object maxEnergy]) : 0.0f];
57 [_ownerField setStringValue:[object inspOwnerLine] ?: @"None"];
63@implementation Entity (OOEntityDebugInspectorModule)