Created BulletActor. BaseActor inherits from Sprite. Animation is a generator now.

This commit is contained in:
2013-01-09 21:17:41 -04:30
parent 3701def3cc
commit 1e635f3d10
3 changed files with 106 additions and 65 deletions

6
math_utils.py Normal file
View File

@@ -0,0 +1,6 @@
###########################################
# Created on 1-9-2013. Miguel Angel Astor #
###########################################
def angle_to_vector(angle):
return [math.cos(angle), math.sin(angle)]