source: abuse/trunk/src/imlib/visobj.h @ 682

Last change on this file since 682 was 605, checked in by Sam Hocevar, 9 years ago

build: fix errors in the makefiles that prevent `make dist' from working.

  • Property svn:keywords set to Id
File size: 632 bytes
Line 
1/*
2 *  Abuse - dark 2D side-scrolling platform game
3 *  Copyright (c) 1995 Crack dot Com
4 *  Copyright (c) 2005-2011 Sam Hocevar <sam@hocevar.net>
5 *
6 *  This software was released into the Public Domain. As with most public
7 *  domain software, no warranty is made or implied by Crack dot Com, by
8 *  Jonathan Clark, or by Sam Hocevar.
9 */
10
11#ifndef VIS_OBJECT_HPP
12#define VIS_OBJECT_HPP
13
14#include "jwindow.h"
15#include "filter.h"
16
17class visual_object
18{
19public:
20    virtual void draw(image *screen, int x, int y, Filter *f) = 0;
21    virtual int width() = 0;
22    virtual int height() = 0;
23    virtual ~visual_object() { }
24};
25
26#endif
27
Note: See TracBrowser for help on using the repository browser.