You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
919 B
42 lines
919 B
//-------------------------------------------------------------------------------------------------------- |
|
// Copyright (c) 2007 Turtle Rock Studios, Inc. |
|
|
|
#if !defined( C_BASETOGGLE_H ) |
|
#define C_BASETOGGLE_H |
|
|
|
#ifdef _WIN32 |
|
#pragma once |
|
#endif |
|
|
|
#include "c_baseentity.h" |
|
|
|
//-------------------------------------------------------------------------------------------------------- |
|
class C_BaseToggle: public C_BaseEntity |
|
{ |
|
public: |
|
DECLARE_CLASS( C_BaseToggle, C_BaseEntity ); |
|
DECLARE_CLIENTCLASS(); |
|
|
|
virtual void GetGroundVelocityToApply( Vector &vecGroundVel ); |
|
}; |
|
|
|
|
|
//-------------------------------------------------------------------------------------------------------- |
|
class C_BaseButton: public C_BaseToggle |
|
{ |
|
public: |
|
DECLARE_CLASS( C_BaseButton, C_BaseToggle ); |
|
DECLARE_CLIENTCLASS(); |
|
|
|
C_BaseButton() |
|
{ |
|
} |
|
|
|
virtual bool IsPotentiallyUsable( void ); |
|
|
|
private: |
|
bool m_usable; |
|
}; |
|
|
|
|
|
#endif // C_BASETOGGLE_H
|