Simple game engine with complete export to scripting language
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.
 
 
 

34 lines
632 B

//------------------------------------------------------------------------------
// Author: Gero Mueller <gero.mueller@cloo.de>
// Copyright: (c) 2006 Gero Mueller
// License: MIT License
//------------------------------------------------------------------------------
#ifndef BLUECORE_POINT_H
#define BLUECORE_POINT_H
namespace BlueCore
{
template<typename type>
struct Rectangle2DTemplate;
template<typename type>
struct Point2DTemplate
{
type _x, _y;
Point2DTemplate() : _x(0), _y(0)
{
}
Point2DTemplate( type x, type y ) : _x(x), _y(y)
{
}
};
typedef Point2DTemplate<int> Point2D;
};
#endif