root / trunk / pysoy / include / soy.actions.pxd

Revision 1352, 1.2 kB (checked in by ArcRiley, 5 weeks ago)

No Ticket :

  • further docs and cleanup for soy.actions
  • renamed soy.actions.Stdout to soy.actions.Print to prep for Python3.0 API
  • Property svn:keywords set to Id
Line 
1# PySoy's actions declarations
2#
3# Copyright (C) 2006,2007,2008 PySoy Group
4#
5#  This program is free software; you can redistribute it and/or modify
6#  it under the terms of the GNU Affero General Public License as published
7#  by the Free Software Foundation, either version 3 of the License, or
8#  (at your option) any later version.
9#
10#  This program is distributed in the hope that it will be useful,
11#  but WITHOUT ANY WARRANTY; without even the implied warranty of
12#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13#  GNU Affero General Public License for more details.
14#
15#  You should have received a copy of the GNU Affero General Public License
16#  along with this program; if not, see http://www.gnu.org/licenses
17#
18# $Id$
19
20cimport ode
21cimport soy.atoms
22cimport soy.bodies
23
24cdef class Action :
25  # C Functions
26  cdef void                    _perform        ( self, unsigned int )
27
28cdef class Callback (Action) :
29  cdef object                  _callback
30
31cdef class Force (Action) :
32  cdef soy.bodies.Body         _target
33  cdef soy.atoms.Vector        _vector
34
35cdef class Print (Action) :
36  cdef char*                   _text
37
38cdef class Torque (Action) :
39  cdef soy.bodies.Body         _target
40  cdef soy.atoms.Axis          _vector
Note: See TracBrowser for help on using the browser.