mirror of
https://github.com/celisej567/source-engine.git
synced 2026-09-27 16:15:14 +03:00
upload "kind" alien swarm
This commit is contained in:
42
game/client/c_basetoggle.h
Normal file
42
game/client/c_basetoggle.h
Normal file
@@ -0,0 +1,42 @@
|
||||
//--------------------------------------------------------------------------------------------------------
|
||||
// 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
|
||||
Reference in New Issue
Block a user