]> git.localhorst.tv Git - l2e.git/blobdiff - src/graphics/Texture.cpp
removed stupid file headers that eclipse put in
[l2e.git] / src / graphics / Texture.cpp
index 6fc8f0e1c3a142aefc65d15d1d5aa538e6d1661f..f4a0385897ec42da9108363f01be7e7fda32684e 100644 (file)
@@ -1,10 +1,3 @@
-/*
- * Texture.cpp
- *
- *  Created on: Oct 21, 2012
- *      Author: holy
- */
-
 #include "Texture.h"
 
 #include "../sdl/utility.h"
@@ -13,8 +6,13 @@ using geometry::Vector;
 
 namespace graphics {
 
-Texture::Texture()
-: surface(0) {
+Texture::Texture(
+               SDL_Surface *surface,
+               const Vector<int> &size,
+               const Vector<int> &offset)
+: surface(surface)
+, size(size)
+, offset(offset) {
 
 }