CollisionAreaComponent.cpp File Reference

#include "CollisionAreaComponent.hpp"
#include "CollisionManager.hpp"
#include "CollisionComponent.hpp"
#include "../schema/SimSchema.hpp"
#include "util/error/Log.hpp"
#include "util/bounds/BoundingBox.hpp"
#include "../thing/Actor.hpp"
#include "../zone/ZoneAreaComponent.hpp"
#include "../pos/PosComponent.hpp"
#include <cstdlib>

Go to the source code of this file.

Namespaces

namespace  se_core

Functions

bool _testCollision (CollisionComponent &cc1, CollisionComponent &cc2)
bool _testCollision2 (CollisionComponent &cc1, CollisionComponent &cc2)


Function Documentation

bool _testCollision CollisionComponent &  cc1,
CollisionComponent &  cc2
[inline]
 

cc1.isDead() && !cc2.isDead();

Definition at line 137 of file CollisionAreaComponent.cpp.

References se_core::CollisionComponent::areaCovered(), se_core::CollisionComponent::doesGeometryCollide(), se_core::BoundingBox::isTouching(), and se_core::CollisionComponent::shouldIgnore().

Referenced by se_core::CollisionAreaComponent::_testCollisionCandidates(), and se_core::CollisionAreaComponent::_testCollisionCandidates2().

bool _testCollision2 CollisionComponent &  cc1,
CollisionComponent &  cc2
[inline]
 

Definition at line 154 of file CollisionAreaComponent.cpp.

References se_core::CollisionComponent::doesGeometryCollide(), and se_core::CollisionComponent::shouldIgnore().


Home Page | SagaEngine trunk (updated nightly) reference generated Sun Dec 2 20:06:17 2007 by Doxygen version 1.3.9.1.

SourceForge.net Logo