<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def current_frame(self):
 		""" The current frame number that should be displayed."""

		if not self.__fps:
			raise RuntimeError("fps not set so current frame number cannot be"
				" calculated")
		else:
			return int(self.__fps * self.time)