17 lines
207 B
Go
17 lines
207 B
Go
|
|
/**
|
||
|
|
* The model.
|
||
|
|
*/
|
||
|
|
package main
|
||
|
|
|
||
|
|
|
||
|
|
/**
|
||
|
|
* An abstract model interface.
|
||
|
|
*/
|
||
|
|
type IModel interface (
|
||
|
|
|
||
|
|
/**
|
||
|
|
* The dimensions of the model (width, height).
|
||
|
|
*/
|
||
|
|
GetDimensions() (int, int)
|
||
|
|
)
|