anchor.diff:  		 terminate/3, 
   		 code_change/4]).
   
  --export([start_link/4,
  +-export([start_link/3,
   		 entity_died/2,
   		 damage_entity/2]).
   
  
positive.code: dist_entities(#state{entity = BcEntity} = State) ->
  	NearbyBcEntities = nearby_entities(State),
  	lists:map(fun(NearbyBcEntity) ->
  				Distance = bc_entity_util:distance(BcEntity, NearbyBcEntity),
  				{Distance, NearbyBcEntity}
  			  end, NearbyBcEntities).
  
  
negative.code: %% API functions
  %% ====================================================================
  
  -spec start_link(BcEntity :: bc_entity:entity(), 
  				 BcEntities :: bc_entities:entities(), 
  				 BcMap :: bc_map:map_graph()) -> gen:start_ret().
  start_link(BcEntity, BcEntities, BcMap) ->
  	gen_fsm:start_link(?MODULE, [BcEntity, BcEntities, BcMap], []).
  
  -spec entity_died(BcAiFsm :: pid(), 
  				  EntityDiedEvent :: 
  