VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
hitZonesSimObjectFacade.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2025 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
10 #include <vlpi/disEnums.h>
11 
14 {
15 public:
18 
20  virtual ~DtHitZonesSimObjectFacadeInterface() = default;
21 
23  bool isUsable() const;
24 
26  std::vector<DtHitZoneId> damagedHitZones() const;
28  bool hitZoneDamaged(const DtHitZoneId& zoneId) const;
29 
30 protected:
32  virtual DtSimObjectReference simObject() const = 0;
33  virtual void setupDecorator() {};
34 };
35 
DtSimObjectFacade< DtHitZonesSimObjectFacadeInterface > DtHitZonesSimObjectFacade
Definition: hitZonesSimObjectFacade.h:36
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
ID value for a hit zone. Consists of a zone function (weapon, sensor, movement, etc.) and a zone number. Includes functions for packing/unpacking into an int.
Definition: hitZoneId.h:21
virtual void setupDecorator()
Definition: hitZonesSimObjectFacade.h:33
This DtHitZonesSimObjectFacadeInterface class provides API to access hit zone related functionality o...
Definition: hitZonesSimObjectFacade.h:13
The template that will wrap a proxy interface and allow it to be used separate from an multiply inher...
Definition: simObjectFacadeBase.h:43

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)