~ubuntu-branches/ubuntu/gutsy/blender/gutsy-security

« back to all changes in this revision

Viewing changes to source/gameengine/GameLogic/SCA_IActuator.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Florian Ernst
  • Date: 2005-11-06 12:40:03 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051106124003-3pgs7tcg5rox96xg
Tags: 2.37a-1.1
* Non-maintainer upload.
* Split out parts of 01_SConstruct_debian.dpatch again: root_build_dir
  really needs to get adjusted before the clean target runs - closes: #333958,
  see #288882 for reference

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**
2
 
 * $Id: SCA_IActuator.cpp,v 1.4 2004/03/22 22:01:32 jesterking Exp $
 
2
 * $Id: SCA_IActuator.cpp,v 1.5 2004/10/16 11:41:48 kester Exp $
3
3
 * ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
4
4
 *
5
5
 * This program is free software; you can redistribute it and/or
64
64
 
65
65
 
66
66
 
67
 
bool SCA_IActuator::Update(double curtime,double deltatime)
68
 
{
69
 
        return true;
70
 
}
71
 
 
72
67
 
73
68
 
74
69
bool SCA_IActuator::IsNegativeEvent() const
91
86
        return !bPositiveEvent && bNegativeEvent;
92
87
}
93
88
 
 
89
bool SCA_IActuator::Update(double curtime, bool frame)
 
90
{
 
91
        if (frame)
 
92
                return Update();
 
93
        
 
94
        return true;
 
95
}
94
96
 
 
97
bool SCA_IActuator::Update()
 
98
{
 
99
        assert(false && "Actuators should override an Update method.");
 
100
        return false;
 
101
}
95
102
 
96
103
void SCA_IActuator::ProcessReplica()
97
104
{