add view enemy info function