ANTWAR C++ SDK
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
SuperWeapon Struct Reference

Great choice to knockout your opponent. More...

#include <common.hpp>

Public Member Functions

 SuperWeapon (SuperWeaponType type, int player, int x, int y)
 
bool is_in_range (int x, int y) const
 Check whether given position is in the range of effect.
 

Public Attributes

SuperWeaponType type
 
int player
 
int x
 
int y
 
int left_time
 
int range
 

Detailed Description

Great choice to knockout your opponent.

Member Function Documentation

◆ is_in_range()

bool SuperWeapon::is_in_range ( int  x,
int  y 
) const
inline

Check whether given position is in the range of effect.

Parameters
xThe x-coordinate of the position.
yThe y-coordinate of the position.
Returns
In the range or not.

The documentation for this struct was generated from the following file: