public EntityProp( Mob ownerMob, IEnvironmentEntity entity) { this.target_object_id = entity.ID; RefeshEntityProperties(ownerMob, entity); this.propStatus = EntityProp.ePropStatus.unacknowledged; this.propStatusTurnCount = 0; this.salience = 0.0f; this.visibilityFlags = new TypedFlags <EntityProp.ePropVisibilityFlags>(); }
public EntityProp() { this.target_object_id = -1; this.position_x = 0.0; this.position_y = 0.0; this.position_z = 0.0; this.faction = GameConstants.eFaction.neutral; this.energy = 0; this.health = 0; this.distance = 0.0f; this.propStatus = EntityProp.ePropStatus.unacknowledged; this.propStatusTurnCount = 0; this.salience = 0.0f; this.visibilityFlags = new TypedFlags <EntityProp.ePropVisibilityFlags>(); }