title: Not recognizing object parameter as int
body: <pre><code>class Ball:
      def __init__(self,pos,vel):
          self.pos = Vector(pos.x,pos.y)
          self.vel = Vector(vel.x,vel.y)
      def curx(self):
          return (self.pos.x + self.vel.x)
      def cury(self):
          return (self.pos.y + self.vel.y)
      def forcex(velx):
          self.vel.deltax(velx)
      def forcey(vely):
          self.vel.deltay(vely)
  
  class Vector:
      def __init__(self,x,y):
          self.x = x
          self.y = y
      def x(self):
          return self.x
      def y(self):
          return self.y
      def delx(self,deltax):
          self.x = self.x + deltax
      def dely(self,deltay):
          self.y = self.y + deltay
  </code></pre>
  
  <p>Here are my two classes, but when I initialize and try to get curx or cury back from ball:</p>
  
  <pre><code>ball = Ball(Vector(0,0),Vector(0,0))
  print ball.curx
  </code></pre>
  
  <p>I get: <code>&lt;bound method Ball.curx of &lt;__main__.Ball instance at 0x1142fd0&gt;&gt;</code></p>
  
  <p>I feel like there should be a fairly simple answer to this and I'm just not getting it.</p>